Member since
09-18-2015
3274
Posts
1159
Kudos Received
426
Solutions
My Accepted Solutions
| Title | Views | Posted |
|---|---|---|
| 2569 | 11-01-2016 05:43 PM | |
| 8507 | 11-01-2016 05:36 PM | |
| 4870 | 07-01-2016 03:20 PM | |
| 8186 | 05-25-2016 11:36 AM | |
| 4338 | 05-24-2016 05:27 PM |
11-12-2015
10:36 AM
@jeff@hortonworks.com @mahadev@hortonworks.com
... View more
11-11-2015
08:39 PM
@hfaouaz@hortonworks.com Kerberos is your best bet. Now, without kerberos You have to login as that particular user to run java program. example: Based on testing in my lab env. login as OS user, for example user abc and if you are dealing with ranger then make sure that os user has permission in HBase policies. Conclusion: Phoenix is picking up OS user as user opening the connection.
... View more
11-11-2015
05:09 PM
@Kevin Minder
... View more
11-11-2015
04:55 PM
@rxu@hortonworks.com You can use this and if you want to prompt for password only then here you go [root@nsfed01 ~]# cat r1.sh #read -p "enter HS2 hostname: " HS2 #read -p "enter username: " username echo "enter password" read -s passwd #read -p "enter filename: " filename beeline -u jdbc:hive2://n3:10000/default -n neeraj -p $passwd -f f.sql [root@nsfed01 ~]#
... View more
11-11-2015
10:20 AM
1 Kudo
@Hajime Based on the error messages , I can see that Kerberos is not setup correctly. Please follow this
... View more
11-11-2015
09:56 AM
1 Kudo
@Hajime Paste the output of klist And search for Kerberos in hive configs by using filter option and paste the screenshot or config settings here
... View more
11-11-2015
09:34 AM
@Hajime Failed to find Kerberos tgt No valid credentials provided Make sure that you have ticket klist kint -kt ( please check official docs on Kerberos setup)
... View more
11-10-2015
09:42 PM
@jeff@hortonworks.com @mahadev@hortonworks.com @rmolina@hortonworks.com @azeltov@hortonworks.com Added sanbox contacts in the loop.
... View more
11-10-2015
06:51 PM
@ravi@hortonworks.com if you dont want to customize and want it to be automatic as part of Yarn architecture then yes, you can open an enhancement request.
... View more
11-10-2015
06:49 PM
1 Kudo
@rxu@hortonworks.com
This worked for me [root@nsfed01 ~]# beeline -u jdbc:hive2://n2:10000/default -n hive -p hive -f f.sql SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation. SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory] Connecting to jdbc:hive2://n2:10000/default Connected to: Apache Hive (version 1.2.1.2.3.2.0-2950) Driver: Hive JDBC (version 1.2.1.2.3.2.0-2950) Transaction isolation: TRANSACTION_REPEATABLE_READ 0: jdbc:hive2://n2:10000/default> select * from test; +----------+-----------+--+ | test.id | test.val | +----------+-----------+--+ +----------+-----------+--+ No rows selected (0.767 seconds) 0: jdbc:hive2://n2:10000/default> Closing: 0: jdbc:hive2://n2:10000/default [root@nsfed01 ~]#
... View more