Member since
04-25-2016
579
Posts
609
Kudos Received
111
Solutions
My Accepted Solutions
| Title | Views | Posted |
|---|---|---|
| 2939 | 02-12-2020 03:17 PM | |
| 2140 | 08-10-2017 09:42 AM | |
| 12496 | 07-28-2017 03:57 AM | |
| 3444 | 07-19-2017 02:43 AM | |
| 2535 | 07-13-2017 11:42 AM |
06-30-2016
12:32 PM
@nyakkanti I think there is no direct way to do this but you can try to grep some log text. or take a heap dump of hiveserver2 and use object query language ( SELECT toString(s.username) FROM INSTANCEOF org.apache.hive.service.cli.session.HiveSessionImpl s ) to know live sessions at that moment. to run object query language you can use jvisualvm or Eclipse MAT.
... View more
06-30-2016
12:14 PM
4 Kudos
on the host where hs2 is running do lsof -i:10000|grep 'ESTABLISHED'|wc -l
... View more
06-30-2016
11:29 AM
@suresh krish seems your sqlstd authrization is enabled,can you check if it is there in output of set hive.security.authorization.sqlstd.confwhitelist; in hive shell?
... View more
06-30-2016
11:22 AM
use authentication mechanism 'use name' and transport binary
@Ravikumar Kumashi
... View more
06-30-2016
10:56 AM
@Ravikumar Kumashican you try with http or binary, if it helps
... View more
06-30-2016
10:42 AM
1 Kudo
what are the other options available in Thrift Transport while installing driver?
@Ravikumar Kumashi
... View more
06-30-2016
10:29 AM
1 Kudo
@Saurabh Kumar are you able to telnet hiveserver2 host and port? telnet hiveserver2_hostname <hs2_port>
... View more
06-30-2016
10:16 AM
1 Kudo
@suresh krish can you check if this property is not in restricted list, either from ambari or in hive-site.xml check for the property hive.conf.restricted.list. if it is there then remove it and restart all hive services and try to set it again.
... View more
06-30-2016
09:30 AM
@ANSARI FAHEEM AHMEDyarn container is a collection of physical resources like CPU,memory and disk.while HDFS block size is chunk on file system where actual read and write happen.
... View more
06-30-2016
09:02 AM
2 Kudos
if you are using mysql database as metastore then you can use following query to get partition locations directly from metastore. select TBLS.TBL_NAME,PARTITIONS.PART_NAME,SDS.LOCATIONfrom SDS,TBLS,PARTITIONSwhere PARTITIONS.SD_ID = SDS.SD_IDand TBLS.TBL_ID=PARTITIONS.TBL_IDorder by 1,2;
... View more