imjuni / jshs2

jsHS2 is a node.js client driver for hive server 2
http://imjuni.github.io/jshs2/
MIT License
34 stars 12 forks source link

example code in "Simple Usage" #2

Closed nebulaszlonemethi closed 9 years ago

nebulaszlonemethi commented 9 years ago

Hi, 3 question about the example code:

imjuni commented 9 years ago

HI,

I was update 0.1.5 -> 0.2.8

  1. yes, I use jshs2(also use jshs2.PConnection and jshs2.PCursor)
    • promise version PConnection, PCursor
    • callback version CConnection, CCursor
    • promise version using callback version
  2. conn initialization value from cluster.json and your environment
    • see new example, more than easy 0.1.5
    • set options object literal and pass Configuration class after Connection, Cursor use Configuration class
  3. yes, I test ConnectionTest and my project

plz, tell your environment, after I will more help you.

imjuni commented 9 years ago

I updated README.md and sample code. Therefore close this issue.