Details
-
Bug
-
Status: Resolved
-
Critical
-
Resolution: Fixed
-
None
-
None
Description
steps taken :
-------------------
- Put few files and directories using ozonefs
- stopped all services of cluster.
- started the scm, om and then datanodes.
While datanodes were starting up, tried to read a file. Null pointer Exception was thrown.
[root@ctr-e138-1518143905142-544443-01-000003 ~]# /root/hadoop_trunk/ozone-0.3.0-SNAPSHOT/bin/ozone fs -ls -R / 2018-10-24 04:48:00,703 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable drwxrwxrwx - root root 0 2018-10-24 04:12 /testdir1 -rw-rw-rw- 1 root root 5368709120 1970-02-25 15:29 /testdir1/5GB -rw-rw-rw- 1 root root 4798 1970-02-25 15:22 /testdir1/passwd drwxrwxrwx - root root 0 2018-10-24 04:46 /testdir3 [root@ctr-e138-1518143905142-544443-01-000003 ~]# /root/hadoop_trunk/ozone-0.3.0-SNAPSHOT/bin/ozone fs -cat o3fs://fs-bucket.fs-volume/testdir1/passwd 2018-10-24 04:49:24,955 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable cat: Exception getting XceiverClient: com.google.common.util.concurrent.UncheckedExecutionException: java.lang.NullPointerException