Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Which code do we use to open the connection in Hbase?



Which code do we use to open the connection in Hbase?..

Answer / Annu Singh

To open a connection in Apache HBase, you can use the HBase API's HBaseAdmin or HConnection classes. Here's an example using HConnection:nn```javanConfiguration conf = HBaseConfiguration.create();nHConnection connection = (HConnection) ConnectionFactory.createConnection(conf);n```

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Apache HBase Interview Questions

What is use of tools command?

1 Answers  


How many operational command in hbase?

1 Answers  


Which command is used to show the current hbase user?

1 Answers  


Which one would you recommend for hbase table design approach – tall-narrow or flat wide?

1 Answers  


hbase support syntax structure like sql. Yes or no?

1 Answers  


How many compaction types are in HBase?

1 Answers  


Which filter accepts the page size as the parameter in HBase?

1 Answers  


Explain the Scope operators used in hbase?

1 Answers  


What is Apache HBase?

1 Answers  


What is the role of zookeeper in hbase?

1 Answers  


Should the region server be located on all DataNodes?

1 Answers  


Explain Any 3 Features of HBase?

1 Answers  


Categories