RE: Hbase with AWS EMR

2018-01-30 Thread Nitin Gupta
Thanks Iain, I have opened the port 80 for HTTP request . When I try to make a connection I get the below error Exception in thread "main" java.io.IOException: create request to /namespace3:t4/schema returned 403 at org.apache.hadoop.hbase.rest.client.RemoteAdmin.createTab

Re: Hbase with AWS EMR

2018-01-30 Thread iain wright
Not sure re:example but you will need network access to the cluster on relevant ports (via AWS security groups), there is no authentication/authorization afaik for EMR, esp. not integrated with IAM, unless you are trying to add steps to a cluster or bring up a cluster/etc. from java You will likel

Hbase with AWS EMR

2018-01-30 Thread Nitin Gupta
Dear All, Would like to know if there is a good Java example to connect to Hbase deployed on AWS EMR through a Java client. I am able to connect through the Hbase console using ssh but I am not sure where and how should I provide the AWS credentials to connect through Java client. Any referen

Workaround for HBASE-19769 -- Could not create interface org.apache.hadoop.hbase.zookeeper.MetricsZooKeeperSource

2018-01-30 Thread Morri Feldman
Hello -- I'm running a spark job which uses an HBase connection and running https://issues.apache.org/jira/browse/HBASE-19769 when using hbase-client version 1.4.0. The issue as I understand it has something to do with the way hadoop and / or spark are using multiple classloaders. I currently cr