[ 
https://issues.apache.org/jira/browse/HDFS-10387?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15278955#comment-15278955
 ] 

John Zhuge commented on HDFS-10387:
-----------------------------------

[~liuml07] The DN is free to ignore it. Copy from protobuf comment in 
{{datatransfer.proto}}:
{noformat}
  /**
   * Hint to the DataNode that the block can be allocated on transient
   * storage i.e. memory and written to disk lazily. The DataNode is free
   * to ignore this hint.
   */
  optional bool allowLazyPersist = 13 [default = false];
{noformat}

> DataTransferProtocol#writeBlock missing some javadocs
> -----------------------------------------------------
>
>                 Key: HDFS-10387
>                 URL: https://issues.apache.org/jira/browse/HDFS-10387
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: datanode, hdfs
>            Reporter: Yongjun Zhang
>            Assignee: John Zhuge
>            Priority: Minor
>         Attachments: HDFS-10387.001.patch
>
>
> DataTransferProtocol#writeBlock's javadocs has the following parameters 
> missing:
> {code}
>       final DataChecksum requestedChecksum,
>       final CachingStrategy cachingStrategy,
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to