[ https://issues.apache.org/jira/browse/HDDS-1111?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ajay Kumar resolved HDDS-1111. ------------------------------ Resolution: Resolved > OzoneManager NPE reading private key file. > ------------------------------------------ > > Key: HDDS-1111 > URL: https://issues.apache.org/jira/browse/HDDS-1111 > Project: Hadoop Distributed Data Store > Issue Type: Sub-task > Reporter: Xiaoyu Yao > Assignee: Xiaoyu Yao > Priority: Major > Labels: test-badlands > > {code} > ozoneManager_1 | 2019-02-14 23:21:51 ERROR OzoneManager:596 - Unable to read > key pair for OM. > ozoneManager_1 | org.apache.hadoop.ozone.security.OzoneSecurityException: > Error reading private file for OzoneManager > ozoneManager_1 | at > org.apache.hadoop.ozone.om.OzoneManager.readKeyPair(OzoneManager.java:638) > ozoneManager_1 | at > org.apache.hadoop.ozone.om.OzoneManager.startSecretManager(OzoneManager.java:594) > ozoneManager_1 | at > org.apache.hadoop.ozone.om.OzoneManager.startSecretManagerIfNecessary(OzoneManager.java:1216) > ozoneManager_1 | at > org.apache.hadoop.ozone.om.OzoneManager.start(OzoneManager.java:1007) > ozoneManager_1 | at > org.apache.hadoop.ozone.om.OzoneManager.main(OzoneManager.java:768) > ozoneManager_1 | Caused by: java.lang.NullPointerException > ozoneManager_1 | at > org.apache.hadoop.ozone.om.OzoneManager.readKeyPair(OzoneManager.java:635) > ozoneManager_1 | ... 4 more > ozoneManager_1 | 2019-02-14 23:21:51 ERROR OzoneManager:772 - Failed to > start the OzoneManager. > ozoneManager_1 | java.lang.RuntimeException: > org.apache.hadoop.ozone.security.OzoneSecurityException: Error reading > private file for OzoneManager > ozoneManager_1 | at > org.apache.hadoop.ozone.om.OzoneManager.startSecretManager(OzoneManager.java:597) > ozoneManager_1 | at > org.apache.hadoop.ozone.om.OzoneManager.startSecretManagerIfNecessary(OzoneManager.java:1216) > ozoneManager_1 | at > org.apache.hadoop.ozone.om.OzoneManager.start(OzoneManager.java:1007) > ozoneManager_1 | at > org.apache.hadoop.ozone.om.OzoneManager.main(OzoneManager.java:768) > ozoneManager_1 | Caused by: > org.apache.hadoop.ozone.security.OzoneSecurityException: Error reading > private file for OzoneManager > ozoneManager_1 | at > org.apache.hadoop.ozone.om.OzoneManager.readKeyPair(OzoneManager.java:638) > ozoneManager_1 | at > org.apache.hadoop.ozone.om.OzoneManager.startSecretManager(OzoneManager.java:594) > ozoneManager_1 | ... 3 more > ozoneManager_1 | Caused by: java.lang.NullPointerException > ozoneManager_1 | at > org.apache.hadoop.ozone.om.OzoneManager.readKeyPair(OzoneManager.java:635) > ozoneManager_1 | ... 4 more > ozoneManager_1 | 2019-02-14 23:21:51 INFO ExitUtil:210 - Exiting with > status 1: java.lang.RuntimeException: > org.apache.hadoop.ozone.security.OzoneSecurityException: Error reading > private file for OzoneManager > ozoneManager_1 | 2019-02-14 23:21:51 INFO OzoneManager:51 - SHUTDOWN_MSG: > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-dev-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org