Member since
05-02-2016
2
Posts
0
Kudos Received
0
Solutions
08-17-2017
04:31 PM
Hi, i was trying to make connection string from hive database via.I created connections string like connect_string = 'Driver=/usr/lib/hive/lib/native/Linux-amd64-64/libhortonworkshiveodbc64.so;Host=xxx;port=8443;HiveServerType=2;AuthMech=3;uid=xxx;pwd=xxx;SSL=1;AllowSelfSignedServerCert=1;CAIssuedCertNamesMismatch=1;TrustedCerts=/usr/lib/hive/lib/native/Linux-amd64-64/cacerts.pem;HttpPath=gateway/default/hive;ThriftTransport=2;ServiceDiscoveryMode=0' But when i running python code which is mention above i am getting following error: ('IM002', '[IM002] [unixODBC][Driver Manager]Data source name not found, and no default driver specified (0) (SQLDriverConnect)')
Traceback (most recent call last): I am successfully execute code by creating dsn and specify that code but i want to use connection string because i don;t have permission to create ~/.odbc.ini file on machine. please provide your input on that if i missing something. Mandar Vaidya
... View more
05-02-2016
05:39 AM
Hi, I have set the tez.grouping.split-count = <Number of mapper count> value but still hive not running that number of mapper while executing query. Is their any other property also i need to set with tez.grouping.split-count property.
... View more