I am still not able to connect dfs cluster from the laptop which is in windows box. My windows box does not have dfs cluster running.
In the given examples i see HBaseConfiguration config = new HBaseConfiguration() will do everything. What i am looking for is, is there a way to do something like HBaseConfiguraiton config = new HBaseConfiguration(server:port) that way i can access the HBase from the application that is running in a box which do not have HBase or DFS running. Is there a way to do this? stack-3 wrote: > > GO-HADOOP wrote: >> Thanks, My web app is in Java it self but could not figure out how to >> access >> the hbase environment hosted in my desktop through the web application in >> my >> laptop. >> >> How do i define location of the master can you please highlight more. >> > Sure: > > See hbase.org. The documentation tab is a good place to start. Has > sample client code: http://hadoop.apache.org/hbase/docs/r0.18.1/. > > St.Ack > > >> >> >> >> stack-3 wrote: >> >>> GO-HADOOP wrote: >>> >>>> How do i access HBase Master or slave running on a different Servers >>>> from >>>> a >>>> web application hosted in different box? >>>> >>>> I saw some implementation like >>>> HBase::Client.new("http://xyz:61001/api") >>>> allow accessing the remove dfs cluster but could not get through it. >>>> >>>> >>> Where did you see that? It doesn't look right. >>> >>> Your webapp is ruby? >>> >>> HBase is java. If ruby, then you'll need to go via a gateway. We have >>> REST and thrift gateways. Checkout the wiki for how to use. >>> >>> Regards accessing hbase cluster from a remote client, just tell the >>> hbase client where the master is located. It takes care of all the >>> rest. >>> >>> St.Ack >>> >>> >>> >> >> > > > -- View this message in context: http://www.nabble.com/Access-Hbase-through-web-application-tp21465344p21566943.html Sent from the HBase User mailing list archive at Nabble.com.
