You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Toshihiro Suzuki (JIRA)" <ji...@apache.org> on 2017/07/04 03:11:01 UTC

[jira] [Created] (ACCUMULO-4675) "accumulo-util gen-monitor-cert" doesn't work

Toshihiro Suzuki created ACCUMULO-4675:
------------------------------------------

             Summary: "accumulo-util gen-monitor-cert" doesn't work
                 Key: ACCUMULO-4675
                 URL: https://issues.apache.org/jira/browse/ACCUMULO-4675
             Project: Accumulo
          Issue Type: Bug
          Components: shell
            Reporter: Toshihiro Suzuki


When I executed "accumulo-util gen-monitor-cert" command, I encountered the following error in spite of setting JAVA_HOME correctly.

{code}
# bin/accumulo-util gen-monitor-cert
JAVA_HOME=/usr/jdk64/jdk1.8.0_112/ must be set and exist
{code}

After I fixed this bug and execute the command again, I faced the following error.

{code}
[Storing /root/accumulo-2.0.0-SNAPSHOT/conf/conf/cacerts.jks]
keytool error: java.io.FileNotFoundException: /root/accumulo-2.0.0-SNAPSHOT/conf/conf/cacerts.jks (No such file or directory)
java.io.FileNotFoundException: /root/accumulo-2.0.0-SNAPSHOT/conf/conf/cacerts.jks (No such file or directory)
	at java.io.FileOutputStream.open0(Native Method)
	at java.io.FileOutputStream.open(FileOutputStream.java:270)
	at java.io.FileOutputStream.<init>(FileOutputStream.java:213)
	at java.io.FileOutputStream.<init>(FileOutputStream.java:101)
	at sun.security.tools.keytool.Main.doCommands(Main.java:1144)
	at sun.security.tools.keytool.Main.run(Main.java:343)
	at sun.security.tools.keytool.Main.main(Main.java:336)
{code}




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)