sqoop-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Syed Akram <akram.ba...@zohocorp.com>
Subject Exception during sqoop.runTool() import programatically
Date Tue, 06 Jan 2015 13:32:40 GMT

Hi

Iam trying to sqoop a mysql table to hive using java sqoop.runTool(), and for some tables
iam getting this below excepiton


java.lang.SecurityException: Cannot replace security manager
        at org.apache.sqoop.util.SubprocessSecurityManager.checkPermission(SubprocessSecurityManager.java:100)
        at java.lang.System.setSecurityManager0(System.java:297)
        at java.lang.System.setSecurityManager(System.java:288)
        at org.apache.sqoop.util.SubprocessSecurityManager.install(SubprocessSecurityManager.java:61)
        at org.apache.sqoop.hive.HiveImport.executeScript(HiveImport.java:320)
        at org.apache.sqoop.hive.HiveImport.importTable(HiveImport.java:239)
        at org.apache.sqoop.tool.ImportTool.importTable(ImportTool.java:511)
        at org.apache.sqoop.tool.ImportTool.run(ImportTool.java:601)
        at org.apache.sqoop.Sqoop.run(Sqoop.java:143)
        at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
        at org.apache.sqoop.Sqoop.runSqoop(Sqoop.java:179)
        at org.apache.sqoop.Sqoop.runTool(Sqoop.java:218)
        at org.apache.sqoop.Sqoop.runTool(Sqoop.java:227)





Please Help me.


Thanks in Advance


Akram Syed


Mime
View raw message