Uploaded image for project: 'Accumulo'
  1. Accumulo
  2. ACCUMULO-4675

"accumulo-util gen-monitor-cert" doesn't work

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.0.0
    • shell
    • None

    Description

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

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

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

      [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)
      

      Attachments

        Issue Links

          Activity

            People

              brfrn169 Toshihiro Suzuki
              brfrn169 Toshihiro Suzuki
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 40m
                  40m