2530206 - Error: Incorrect syntax near '/'. while importing data in Hadoop via using sqoop | SAP Knowledge Base Article

SAP Knowledge Base Article - Preview

2530206 - Error: Incorrect syntax near '/'. while importing data in Hadoop via using sqoop

Symptom

  • When setting up hadoop cluster and trying to load data from SAP ASE. And then running command

sqoop import-all-tables --verbose --connect jdbc:sybase:Tds:192.168.0.155:4901/PRD --username sapsa --password XXXXXXX --driver com.sybase.jdbc4.jdbc.SybDriver --warehouse-dir /user/sap --hive-database PRD --hive-import --create-hive-table -m 1  

  • An error is generated:

Executing SQL statement: SELECT t.* FROM /1BS/TEST_TABLE AS t WHERE 1=0 

Error: Incorrect syntax near '/'. com.sybase.jdbc4.jdbc.SybSQLException: Incorrect syntax near '/'. 


Read more...

Environment

  • SAP Adaptive Server Entreprise (ASE) 15.7 
  • SAP Adaptive Server Entreprise (ASE) 16

Product

SAP Adaptive Server Enterprise 15.7 ; SAP Adaptive Server Enterprise 16.0

Keywords

sqoop,hadoop,Msg 102,102,incorrect syntax , KBA , BC-SYB-ASE , Sybase ASE Database Platform (non Business Suite) , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.