java.lang.SecurityException: Cannot replace security manager

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via sqoop-user by Syed Akram, 1 year ago
Cannot replace security manager
via sqoop-user by Syed Akram, 4 months ago
Cannot replace security manager
via sqoop-user by Abraham Elmahrek, 1 year ago
Cannot replace security manager
via sqoop-user by Abraham Elmahrek, 4 months ago
Cannot replace security manager
via sqoop-user by Syed Akram, 1 year ago
Cannot replace security manager
via sqoop-user by Syed Akram, 1 year ago
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 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.CreateHiveTableTool.run(CreateHiveTableTool.java:58)
at org.apache.sqoop.Sqoop.run(Sqoop.java:143)
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)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.