2014-09-02 126 views
1

我使用Pentaho的數據集成,我試圖連接到蜂巢,但是當我試圖這樣做,我得到以下錯誤蜂巢連接.....Pentaho的數據集成

Error connecting to database [Hive] : org.pentaho.di.core.exception.KettleDatabaseException: 
Error occured while trying to connect to the database 

Error connecting to database: (using class org.apache.hadoop.hive.jdbc.HiveDriver) 
org.apache.thrift.transport.TTransportException 


org.pentaho.di.core.exception.KettleDatabaseException: 
Error occured while trying to connect to the database 

Error connecting to database: (using class org.apache.hadoop.hive.jdbc.HiveDriver) 
org.apache.thrift.transport.TTransportException  
    at org.pentaho.di.core.database.Database.normalConnect(Database.java:428) 
    at org.pentaho.di.core.database.Database.connect(Database.java:361) 
    at org.pentaho.di.core.database.Database.connect(Database.java:314) 
    at org.pentaho.di.core.database.Database.connect(Database.java:302) 
    at org.pentaho.di.core.database.DatabaseFactory.getConnectionTestReport(DatabaseFactory.java:80) 
    at org.pentaho.di.core.database.DatabaseMeta.testConnection(DatabaseMeta.java:2685) 
    at org.pentaho.di.ui.core.database.dialog.DatabaseDialog.test(DatabaseDialog.java:109) 
    at org.pentaho.di.ui.core.database.wizard.CreateDatabaseWizardPage2.test(CreateDatabaseWizardPage2.java:157) 
    at org.pentaho.di.ui.core.database.wizard.CreateDatabaseWizardPage2$3.widgetSelected(CreateDatabaseWizardPage2.java:147) 
    at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source) 
    at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source) 
    at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) 
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source) 
    at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source) 
    at org.eclipse.jface.window.Window.runEventLoop(Window.java:820) 
    at org.eclipse.jface.window.Window.open(Window.java:796) 
    at org.pentaho.di.ui.core.database.wizard.CreateDatabaseWizard.createAndRunDatabaseWizard(CreateDatabaseWizard.java:111) 

使用設置爲localhost,端口爲8888和數據庫的默認....

請幫助,等待您的回覆....

問候, 辭典Pansara

回答

0

您是否在插件文件夾中編輯plugin.properties?

數據集成>插件> Pentaho的,大數據插件>的plugin.properties

更改屬性 「active.hadoop.configuration」 您正在使用Hadoop發行版,例如:

active.hadoop.configuration = HDP20

這可能會解決這個問題。