You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Nilotpal Nandi (JIRA)" <ji...@apache.org> on 2018/10/24 05:01:00 UTC

[jira] [Created] (HDDS-721) NullPointerException thrown while trying to read a file when datanode restarted

Nilotpal Nandi created HDDS-721:
-----------------------------------

             Summary: NullPointerException thrown while trying to read a file when datanode restarted
                 Key: HDDS-721
                 URL: https://issues.apache.org/jira/browse/HDDS-721
             Project: Hadoop Distributed Data Store
          Issue Type: Bug
          Components: Ozone Datanode
    Affects Versions: 0.3.0
            Reporter: Nilotpal Nandi


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.

 
{noformat}
[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{noformat}
 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org