[jira] [Updated] (HDFS-5450) better API for getting the cached blocks locations

2013-11-12 Thread Andrew Wang (JIRA)
[ https://issues.apache.org/jira/browse/HDFS-5450?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrew Wang updated HDFS-5450: -- Resolution: Fixed Fix Version/s: 3.0.0 Status: Resolved (was: Patch Available) Thanks

[jira] [Updated] (HDFS-5450) better API for getting the cached blocks locations

2013-11-12 Thread Colin Patrick McCabe (JIRA)
[ https://issues.apache.org/jira/browse/HDFS-5450?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Colin Patrick McCabe updated HDFS-5450: --- Description: Currently, we have to downcast the {{BlockLocation}} to {{HdfsBlockLocati

[jira] [Updated] (HDFS-5450) better API for getting the cached blocks locations

2013-11-11 Thread Andrew Wang (JIRA)
[ https://issues.apache.org/jira/browse/HDFS-5450?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrew Wang updated HDFS-5450: -- Attachment: hdfs-5450-5.patch Looks like I made a bad diff last time, here's a newly rebased one. > bet

[jira] [Updated] (HDFS-5450) better API for getting the cached blocks locations

2013-11-11 Thread Andrew Wang (JIRA)
[ https://issues.apache.org/jira/browse/HDFS-5450?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrew Wang updated HDFS-5450: -- Attachment: hdfs-5450-4.patch Here's a patch that stubs out the mlock for that test class, and adds the

[jira] [Updated] (HDFS-5450) better API for getting the cached blocks locations

2013-11-11 Thread Andrew Wang (JIRA)
[ https://issues.apache.org/jira/browse/HDFS-5450?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrew Wang updated HDFS-5450: -- Attachment: hdfs-5450-3.patch Good catch, I think that was meant to do "if null use empty string array

[jira] [Updated] (HDFS-5450) better API for getting the cached blocks locations

2013-11-09 Thread Andrew Wang (JIRA)
[ https://issues.apache.org/jira/browse/HDFS-5450?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrew Wang updated HDFS-5450: -- Attachment: hdfs-5450-2.patch Patch attached, tests fixed. I threw in webhdfs support here since it was

[jira] [Updated] (HDFS-5450) better API for getting the cached blocks locations

2013-11-09 Thread Andrew Wang (JIRA)
[ https://issues.apache.org/jira/browse/HDFS-5450?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrew Wang updated HDFS-5450: -- Attachment: hdfs-5450-1.patch Hey Colin, good idea on the libhdfs support. I'd like to punt it out to a

[jira] [Updated] (HDFS-5450) better API for getting the cached blocks locations

2013-11-09 Thread Andrew Wang (JIRA)
[ https://issues.apache.org/jira/browse/HDFS-5450?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrew Wang updated HDFS-5450: -- Status: Patch Available (was: Open) > better API for getting the cached blocks locations >