You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-user@hadoop.apache.org by Kumar Jayapal <kj...@gmail.com> on 2015/04/17 19:18:54 UTC

Exception while import in sqoop

Hi,


I installed sqoop2 and trying to execute simple export command to check the
db connection

Does any one have  reason and resolution of this error.


sqoop import  --connect jdbc:mysql://mysql.mmc.com:3306/hive  --username
hive --password sdeecer  --table ROLES


Exception has occurred during processing command
Exception: org.codehaus.groovy.control.MultipleCompilationErrorsException
Message: startup failed:
groovysh_parse: 1: expecting EOF, found 'import' @ line 1, column 7.


Thanks
Kumar

Re: Exception while import in sqoop

Posted by Chris Nauroth <cn...@hortonworks.com>.
Hello Kumar,

This is another question that would be better handled through the user@sqoop.apache.org<ma...@sqoop.apache.org> list.

Chris Nauroth
Hortonworks
http://hortonworks.com/


From: Kumar Jayapal <kj...@gmail.com>>
Reply-To: "user@hadoop.apache.org<ma...@hadoop.apache.org>" <us...@hadoop.apache.org>>
Date: Friday, April 17, 2015 at 10:18 AM
To: "user@hadoop.apache.org<ma...@hadoop.apache.org>" <us...@hadoop.apache.org>>
Subject: Exception while import in sqoop

Hi,


I installed sqoop2 and trying to execute simple export command to check the db connection

Does any one have  reason and resolution of this error.


sqoop import  --connect jdbc:mysql://mysql.mmc.com:3306/hive<http://mysql.mmc.com:3306/hive>  --username hive --password sdeecer  --table ROLES


Exception has occurred during processing command
Exception: org.codehaus.groovy.control.MultipleCompilationErrorsException Message: startup failed:
groovysh_parse: 1: expecting EOF, found 'import' @ line 1, column 7.


Thanks
Kumar

Re: Exception while import in sqoop

Posted by Chris Nauroth <cn...@hortonworks.com>.
Hello Kumar,

This is another question that would be better handled through the user@sqoop.apache.org<ma...@sqoop.apache.org> list.

Chris Nauroth
Hortonworks
http://hortonworks.com/


From: Kumar Jayapal <kj...@gmail.com>>
Reply-To: "user@hadoop.apache.org<ma...@hadoop.apache.org>" <us...@hadoop.apache.org>>
Date: Friday, April 17, 2015 at 10:18 AM
To: "user@hadoop.apache.org<ma...@hadoop.apache.org>" <us...@hadoop.apache.org>>
Subject: Exception while import in sqoop

Hi,


I installed sqoop2 and trying to execute simple export command to check the db connection

Does any one have  reason and resolution of this error.


sqoop import  --connect jdbc:mysql://mysql.mmc.com:3306/hive<http://mysql.mmc.com:3306/hive>  --username hive --password sdeecer  --table ROLES


Exception has occurred during processing command
Exception: org.codehaus.groovy.control.MultipleCompilationErrorsException Message: startup failed:
groovysh_parse: 1: expecting EOF, found 'import' @ line 1, column 7.


Thanks
Kumar

Re: Exception while import in sqoop

Posted by Chris Nauroth <cn...@hortonworks.com>.
Hello Kumar,

This is another question that would be better handled through the user@sqoop.apache.org<ma...@sqoop.apache.org> list.

Chris Nauroth
Hortonworks
http://hortonworks.com/


From: Kumar Jayapal <kj...@gmail.com>>
Reply-To: "user@hadoop.apache.org<ma...@hadoop.apache.org>" <us...@hadoop.apache.org>>
Date: Friday, April 17, 2015 at 10:18 AM
To: "user@hadoop.apache.org<ma...@hadoop.apache.org>" <us...@hadoop.apache.org>>
Subject: Exception while import in sqoop

Hi,


I installed sqoop2 and trying to execute simple export command to check the db connection

Does any one have  reason and resolution of this error.


sqoop import  --connect jdbc:mysql://mysql.mmc.com:3306/hive<http://mysql.mmc.com:3306/hive>  --username hive --password sdeecer  --table ROLES


Exception has occurred during processing command
Exception: org.codehaus.groovy.control.MultipleCompilationErrorsException Message: startup failed:
groovysh_parse: 1: expecting EOF, found 'import' @ line 1, column 7.


Thanks
Kumar

Re: Exception while import in sqoop

Posted by Chris Nauroth <cn...@hortonworks.com>.
Hello Kumar,

This is another question that would be better handled through the user@sqoop.apache.org<ma...@sqoop.apache.org> list.

Chris Nauroth
Hortonworks
http://hortonworks.com/


From: Kumar Jayapal <kj...@gmail.com>>
Reply-To: "user@hadoop.apache.org<ma...@hadoop.apache.org>" <us...@hadoop.apache.org>>
Date: Friday, April 17, 2015 at 10:18 AM
To: "user@hadoop.apache.org<ma...@hadoop.apache.org>" <us...@hadoop.apache.org>>
Subject: Exception while import in sqoop

Hi,


I installed sqoop2 and trying to execute simple export command to check the db connection

Does any one have  reason and resolution of this error.


sqoop import  --connect jdbc:mysql://mysql.mmc.com:3306/hive<http://mysql.mmc.com:3306/hive>  --username hive --password sdeecer  --table ROLES


Exception has occurred during processing command
Exception: org.codehaus.groovy.control.MultipleCompilationErrorsException Message: startup failed:
groovysh_parse: 1: expecting EOF, found 'import' @ line 1, column 7.


Thanks
Kumar