access denied ("java.net.SocketPermission" "localhost:1527" "listen,resolve")

在开启derby服务出现该错误

1.

$JAVA_HOME/jre/lib/security/java.policy


添加

permission java.net.SocketPermission "localhost:1527", "listen,accept,connect,resolve";


 

2.

再次启动derby

 

你可能感兴趣的:(Hadoop笔记)