Quantcast
Channel: SCN : Discussion List - SAP HANA and In-Memory Computing
Viewing all articles
Browse latest Browse all 5653

Unable to connect HIVE through HANA system using isql -v HIVE

$
0
0

Hi Mentors,

 

Recently iam also facing the same issue with connectivity from HANA -HADOOP

 

i have followed the HANA admin guide & SDA guide & installed the UNIX drivers(2.3.0)

 

  • SIMBAdrivers
  • Hortonworks driver

 

i was trying to fire isql -v
HIVE , HDP queries  but i get the same
error which u mentioned

 

  and usr/home contains
(.ODBC.ini ,simba.hiveodbc.ini. , hortonworks.hiveodbc.ini )

  

 

File contents

 

 

.ODBC.INI

   

[HIVE]

  #Description=Hortonworks Hive
ODBC Driver(64-bit)DSN

Driver=/_drivers/simba/hiveodbc/lib/64/libsimbahiveodbc64.so

  HOST=ec2-54-153-2-16.us-west-1.compute.amazonaws.com

  HS2HostFQDN=ec2-54-153-2-16.us-west-1.compute.amazonaws.com

  PORT=10000

  Schema=default

  FastSQLPrepare=0

  UseNativeQuery=0

  HiveServerType=2

  HS2AuthMech=2

  UserName=hive

 

   .simba.hiveodbc.ini

 

DriverManagerEncoding=UTF-16

  ErrorMessagesPath=/_drivers/simba/hiveodbc/ErrorMessages/

  LogLevel=0

  LogPath=

  SwapFilePath=/tmp

  Driver=/_drivers/simba/hiveodbc/lib/64/libsimbahiveodbc64.so


#   SimbaDM / unixODBC

  ODBCInstLib=/usr/local/lib/libodbcinst.so

  

i tried all the ways to set environmental variables, i made all  directories sid adm as owner still i face the same error

 

 

Error [Simba]

<HOSTNAME.>:~> isql -vHIVE

 

[S1000][unixODBC][DSI] The
error message NoSQLGetPrivateProfileString could not be found in the en-US
locale. Check that[INSTALLDIR]/simba/hiveodbc/ErrorMessages//en-US/ODBCMessages.xml exists.

[ISQL]ERROR: Could notSQLConnect

  

[Horton]

<HOSTNAME>~> isql -vHDP

  [S1000][unixODBC][Hortonworks][ODBC](11560) Unable to locate SQLGetPrivateProfileString function.

[ISQL]ERROR: Could notSQLConnect

 

 

PLEASE SUGGEST ME TO RESOLVE THE ISSUE

 

  

 

 

 

 

 

 


Viewing all articles
Browse latest Browse all 5653

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>