Member since
12-10-2015
36
Posts
9
Kudos Received
2
Solutions
My Accepted Solutions
Title | Views | Posted |
---|---|---|
4033 | 12-09-2017 07:12 PM | |
5190 | 02-02-2016 08:34 AM |
12-09-2017
07:12 PM
Issue solved!! It is not enough to setup port forwarding on the virtual machine Since we are on a docker we need to setup ports on the docker Here is a link on how to do it Please take in account that the container name is sandbox-hdp and not sandbox as written in the docs https://hortonworks.com/tutorial/sandbox-port-forwarding-guide/section/1/ , I found the problem!! It is not enough to add the port forwarding on the virtual box since we are on a docker we need to update it on the start docker script see this link for more information on how to add port forwarding : https://hortonworks.com/tutorial/sandbox-port-forwarding-guide/section/1/
... View more
12-07-2017
03:50 PM
I think I did it .. I created another entry in the vm with host port as 9088 and guest the same port with protocol TCP Does sandbox have any firewall?
... View more
12-07-2017
02:47 PM
Hi, I installed sanbox hdp 2.6.3 add the superset service put it on port 9088. config port forwarding on the virtual box. When I try to access the superset from the browser e.g. 127.0.0.1:9088 get an error cant rich web site When trying to get the url via cURL inside the guest machine e.g. from ssh I get the html . Someone know what other settings I miss there ? Tried to compare with HDF configuration all the same TIA
... View more
Labels:
- Labels:
-
Hortonworks Data Platform (HDP)
05-18-2016
06:18 PM
Solved Many thanks I will try to remove the slashes on addresource and see if it solves also Many thanks
... View more
05-18-2016
05:39 PM
Hi thank you for the answer . Tried it Didn't help the same exception I put the following code: _conf.set("zookeeper.znode.parent", "//hbase-unsecure") //copied the value from the configuration file
... View more
05-18-2016
05:23 PM
Hi thank you for the answer . Tried it Didn't help the same exception I put the following code: _conf.set("zookeeper.znode.parent", "//hbase-unsecure") //copied the value from the configuration file
... View more
05-18-2016
05:08 PM
I am trying to write to HBase from SparkStreaming job. I get the following exception when calling: table.put(_config,put); java.lang.NullPointerException at org.apache.hadoop.hbase.zookeeper.ZooKeeperWatcher.getMetaReplicaNodes(ZooKeeperWatcher.java:269) I see that the configuration value is not correct but I tried to set up values I don't know exactly which values to setup
I am running on azure with hortonworks sandbox and running the job via spark-submit with --jars supplying the entire jars needed to run. (spark version 1.6) The streaming is running perfect except that I cant write to HBase Here is my code to put data: class Adapter extendsSerializable{
var_conf = new HBaseConfiguration()
val_admin = new HBaseAdmin(_conf)
defPutData(tableName:String,columnFamily:String,key:String,data:String){
// _conf = HBaseConfiguration.create().asInstanceOf[HBaseConfiguration]
_conf.addResource("//etc//hbase//conf//hbase-site.xml")
_conf.set("hbase.zookeeper.quorum","sandbox.hortonworks.com");
_conf.setInt("hbase.zookeeper.clientport",2181);
println(_conf.get("hbase.zookeeper.quorum"));
println(_conf.get("hbase.zookeeper.clientport"));
valtable = new HTable(_conf,tableName)
valput = new Put(Bytes.toBytes(key));
valobj = JSON.parseFull(data);
objmatch {
caseSome(m:Map[String,Any])=>
m.map((r)=>{
valv=r._2.asInstanceOf[String];
put.add(Bytes.toBytes(columnFamily),Bytes.toBytes(r._1),Bytes.toBytes(v))
//println(r._1+":"+v)
})
}
println("writing to HBase");
table.put(put);
}
}
... View more
Labels:
- Labels:
-
Apache HBase
-
Apache Spark
02-02-2016
08:33 PM
1 Kudo
Thank you very much, If I find solution I will write my experience here.
... View more
02-02-2016
08:28 PM
Thanks , I have already created new machine and I get the same effect. Can you please put a link to the azure documentation I will need it because on the next following weeks I will put my app on beta.
... View more