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

Surendra Singh Lilhore commented on HDFS-10608:
-----------------------------------------------

Sorry [~churromorales], If you didn't understand my comment.

bq. For (2). I'm not sure I completely follow you, did you want me to switch 
blockID to a string for both penultimate and last blocks?

 Yes, I am thinking we should give block name in event object intead of 
blockId. Client only should know about block name. Block name you can get from 
{{Block#getBlockName()}}.

Fx: blk_1073741825

bq. Many of the API's use a long instead of a string to create Blocks from Id's

I don’t think any FileSystem API (Client API) take blockId as parameter.


> Include event for AddBlock in Inotify Event Stream
> --------------------------------------------------
>
>                 Key: HDFS-10608
>                 URL: https://issues.apache.org/jira/browse/HDFS-10608
>             Project: Hadoop HDFS
>          Issue Type: Task
>            Reporter: churro morales
>            Priority: Minor
>         Attachments: HDFS-10608.patch, HDFS-10608.v1.patch, 
> HDFS-10608.v2.patch, HDFS-10608.v3.patch
>
>
> It would be nice to have an AddBlockEvent in the INotify pipeline.  Based on 
> discussions from mailing list:
> http://mail-archives.apache.org/mod_mbox/hadoop-hdfs-dev/201607.mbox/%3C1467743792.4040080.657624289.7BE240AD%40webmail.messagingengine.com%3E



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

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to