Guido Serra aka Zeph created WHIRR-686:
------------------------------------------

             Summary: hbase cluster answers with internal AWS addresses 
(leading Pentaho's pdi-ce-4.4.0 to fail on connection)
                 Key: WHIRR-686
                 URL: https://issues.apache.org/jira/browse/WHIRR-686
             Project: Whirr
          Issue Type: Bug
            Reporter: Guido Serra aka Zeph


I created a cluster with the default settings from 
https://svn.apache.org/repos/asf/whirr/trunk/recipes/hbase-cdh.properties

Then, opened the Data-Integration client from Pentaho, 
and created a New Transformation > Big Data > Hbase Output

(I had started the client via command line, to obtain the logs below)

{code}
INFO  13-12 15:34:08,284 - Initiating client connection, 
connectString=ec2-XX-XX-XX-XX.eu-west-1.compute.amazonaws.com:2181 
sessionTimeout=180000 watcher=hconnection
INFO  13-12 15:34:08,285 - Opening socket connection to server 
/176.34.212.37:2181
INFO  13-12 15:34:08,285 - The identifier of this process is [email protected]
WARN  13-12 15:34:08,321 - SecurityException: java.lang.SecurityException: 
Unable to locate a login configuration occurred when trying to find JAAS 
configuration.
INFO  13-12 15:34:08,321 - Client will not SASL-authenticate because the 
default JAAS configuration section 'Client' could not be found. If you are not 
using SASL, you may ignore this. On the other hand, if you expected SASL to 
work, please fix your JAAS configuration.
INFO  13-12 15:34:08,363 - Socket connection established to 
ec2-XX-XX-XX-XX.eu-west-1.compute.amazonaws.com/XXX.XXX.XXX.XXX:2181, 
initiating session
INFO  13-12 15:34:08,408 - Session establishment complete on server 
ec2-XX-XX-XX-XX.eu-west-1.compute.amazonaws.com/XXX.XXX.XXX.XXX:2181, sessionid 
= 0x13b947912cf003b, negotiated timeout = 40000
INFO  13-12 15:34:24,670 - getMaster attempt 0 of 10 failed; retrying after 
sleep of 1000
java.net.UnknownHostException: unknown host: 
ip-XX-XX-XX-XX.eu-west-1.compute.internal
        at 
org.apache.hadoop.hbase.ipc.HBaseClient$Connection.<init>(HBaseClient.java:227)
        at 
org.apache.hadoop.hbase.ipc.HBaseClient.getConnection(HBaseClient.java:1035)
        at org.apache.hadoop.hbase.ipc.HBaseClient.call(HBaseClient.java:897)
        at 
org.apache.hadoop.hbase.ipc.WritableRpcEngine$Invoker.invoke(WritableRpcEngine.java:150)
        at $Proxy20.getProtocolVersion(Unknown Source)
        at 
org.apache.hadoop.hbase.ipc.WritableRpcEngine.getProxy(WritableRpcEngine.java:183)
        at org.apache.hadoop.hbase.ipc.HBaseRPC.getProxy(HBaseRPC.java:303)
        at org.apache.hadoop.hbase.ipc.HBaseRPC.getProxy(HBaseRPC.java:280)
        at org.apache.hadoop.hbase.ipc.HBaseRPC.getProxy(HBaseRPC.java:332)
        at 
org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.getMaster(HConnectionManager.java:642)
        at org.apache.hadoop.hbase.client.HBaseAdmin.<init>(HBaseAdmin.java:106)
        at 
org.pentaho.hbase.shim.common.CommonHBaseConnection.configureConnection(CommonHBaseConnection.java:135)
        at 
org.pentaho.di.trans.steps.hbaseoutput.HBaseOutputData.getHBaseConnection(HBaseOutputData.java:102)
        at 
org.pentaho.di.trans.steps.hbaseoutput.HBaseOutputDialog.getHBaseConnection(HBaseOutputDialog.java:784)
        at 
org.pentaho.di.trans.steps.hbaseoutput.HBaseOutputDialog.setupMappedTableNames(HBaseOutputDialog.java:796)
        at 
org.pentaho.di.trans.steps.hbaseoutput.HBaseOutputDialog.access$1300(HBaseOutputDialog.java:77)
        at 
org.pentaho.di.trans.steps.hbaseoutput.HBaseOutputDialog$9.widgetSelected(HBaseOutputDialog.java:436)
        at 
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:240)
        at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
        at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4128)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1457)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1480)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1465)
        at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1270)
        at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3974)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3613)
        at 
org.pentaho.di.trans.steps.hbaseoutput.HBaseOutputDialog.open(HBaseOutputDialog.java:628)
        at 
org.pentaho.di.ui.spoon.delegates.SpoonStepsDelegate.editStep(SpoonStepsDelegate.java:136)
        at org.pentaho.di.ui.spoon.Spoon.editStep(Spoon.java:7835)
        at 
org.pentaho.di.ui.spoon.trans.TransGraph.editStep(TransGraph.java:2749)
{code}

is it a configuration issue? (of the configuration created by WHIRR?)

p.s. "zkCli -server public-ip:2181" works like a charme...

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to