[ https://issues.apache.org/jira/browse/HDDS-721?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shashikant Banerjee updated HDDS-721: ------------------------------------- Status: Patch Available (was: Open) > 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 > Assignee: Shashikant Banerjee > Priority: Critical > Attachments: HDDS-721-ozone-0.3.000.patch, > all-node-ozone-logs-1540356965.tar.gz > > > 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-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org