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 "Renukaprasad C (Jira)" <ji...@apache.org> on 2021/09/27 18:00:00 UTC

[jira] [Created] (HDFS-16239) XAttr#toString doesnt print the value

Renukaprasad C created HDFS-16239:
-------------------------------------

             Summary: XAttr#toString doesnt print the value
                 Key: HDFS-16239
                 URL: https://issues.apache.org/jira/browse/HDFS-16239
             Project: Hadoop HDFS
          Issue Type: Bug
            Reporter: Renukaprasad C
            Assignee: Renukaprasad C


org.apache.hadoop.fs.XAttr#toString prints the value of attribute in bytes. 

return "XAttr [ns=" + ns + ", name=" + name + ", value="
 + Arrays.toString(value) + "]";

XAttr [ns=SYSTEM, name=az.expression, value=[82, 69, 80, 91, 50, 93......]

This should be converted to String rather than printing to Array of bytes.

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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