You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "hemanthboyina (Jira)" <ji...@apache.org> on 2019/08/22 19:17:00 UTC
[jira] [Comment Edited] (HDFS-14767) NPE in FSEditLogOp
[ https://issues.apache.org/jira/browse/HDFS-14767?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16913363#comment-16913363 ]
hemanthboyina edited comment on HDFS-14767 at 8/22/19 7:16 PM:
---------------------------------------------------------------
{code:java}
builder.append("AddCacheDirectiveInfo [")
.append("id=" + directive.getId() + ",")
.append("path=" + directive.getPath().toUri().getPath() + ",")
.append("replication=" + directive.getReplication() + ",")
.append("pool=" + directive.getPool() + ",")
.append("expiration=" + directive.getExpiration().getMillis()); {code}
the directive.getPath() .toUri().getPath() was null , caused NPE
was (Author: hemanthboyina):
{code:java}
builder.append("AddCacheDirectiveInfo [")
.append("id=" + directive.getId() + ",")
.append("path=" + directive.getPath().toUri().getPath() + ",")
.append("replication=" + directive.getReplication() + ",")
.append("pool=" + directive.getPool() + ",")
.append("expiration=" + directive.getExpiration().getMillis()); {code}
the directive.getPath() was null , caused NPE
> NPE in FSEditLogOp
> ------------------
>
> Key: HDFS-14767
> URL: https://issues.apache.org/jira/browse/HDFS-14767
> Project: Hadoop HDFS
> Issue Type: Bug
> Reporter: hemanthboyina
> Assignee: hemanthboyina
> Priority: Major
> Attachments: HDFS-14767.001.patch
>
>
> In Inner class of FSEditLogOp , AddCacheDirectiveInfoOp toString caused Null Pointer Exception
--
This message was sent by Atlassian Jira
(v8.3.2#803003)
---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org