[jira] [Updated] (HDFS-8345) Storage policy APIs must be exposed via the FileSystem interface

2015-05-18 Thread Arpit Agarwal (JIRA)

 [ 
https://issues.apache.org/jira/browse/HDFS-8345?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Arpit Agarwal updated HDFS-8345:

   Resolution: Fixed
Fix Version/s: 2.8.0
 Hadoop Flags: Reviewed
   Status: Resolved  (was: Patch Available)

I have committed this for 2.8.0. Thank you for the reviews [~xyao], [~jingzhao] 
and [~busbey].

Filed HADOOP-11981 to update the site docs.

 Storage policy APIs must be exposed via the FileSystem interface
 

 Key: HDFS-8345
 URL: https://issues.apache.org/jira/browse/HDFS-8345
 Project: Hadoop HDFS
  Issue Type: Bug
  Components: hdfs-client
Affects Versions: 2.7.0
Reporter: Arpit Agarwal
Assignee: Arpit Agarwal
  Labels: BB2015-05-TBR
 Fix For: 2.8.0

 Attachments: HDFS-8345.01.patch, HDFS-8345.02.patch, 
 HDFS-8345.03.patch, HDFS-8345.04.patch, HDFS-8345.05.patch, 
 HDFS-8345.06.patch, HDFS-8345.07.patch


 The storage policy APIs are not exposed via FileSystem. Since 
 DistributedFileSystem is tagged as LimitedPrivate we should expose the APIs 
 through FileSystem for use by other applications.



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


[jira] [Updated] (HDFS-8345) Storage policy APIs must be exposed via the FileSystem interface

2015-05-15 Thread Arpit Agarwal (JIRA)

 [ 
https://issues.apache.org/jira/browse/HDFS-8345?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Arpit Agarwal updated HDFS-8345:

Attachment: HDFS-8345.06.patch

Updated patch to fix the warnings due to the newly deprecated API.

 Storage policy APIs must be exposed via the FileSystem interface
 

 Key: HDFS-8345
 URL: https://issues.apache.org/jira/browse/HDFS-8345
 Project: Hadoop HDFS
  Issue Type: Bug
  Components: hdfs-client
Affects Versions: 2.7.0
Reporter: Arpit Agarwal
Assignee: Arpit Agarwal
  Labels: BB2015-05-TBR
 Attachments: HDFS-8345.01.patch, HDFS-8345.02.patch, 
 HDFS-8345.03.patch, HDFS-8345.04.patch, HDFS-8345.05.patch, HDFS-8345.06.patch


 The storage policy APIs are not exposed via FileSystem. Since 
 DistributedFileSystem is tagged as LimitedPrivate we should expose the APIs 
 through FileSystem for use by other applications.



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


[jira] [Updated] (HDFS-8345) Storage policy APIs must be exposed via the FileSystem interface

2015-05-15 Thread Arpit Agarwal (JIRA)

 [ 
https://issues.apache.org/jira/browse/HDFS-8345?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Arpit Agarwal updated HDFS-8345:

Attachment: HDFS-8345.07.patch

v7 to fix Javadoc missed last time.

 Storage policy APIs must be exposed via the FileSystem interface
 

 Key: HDFS-8345
 URL: https://issues.apache.org/jira/browse/HDFS-8345
 Project: Hadoop HDFS
  Issue Type: Bug
  Components: hdfs-client
Affects Versions: 2.7.0
Reporter: Arpit Agarwal
Assignee: Arpit Agarwal
  Labels: BB2015-05-TBR
 Attachments: HDFS-8345.01.patch, HDFS-8345.02.patch, 
 HDFS-8345.03.patch, HDFS-8345.04.patch, HDFS-8345.05.patch, 
 HDFS-8345.06.patch, HDFS-8345.07.patch


 The storage policy APIs are not exposed via FileSystem. Since 
 DistributedFileSystem is tagged as LimitedPrivate we should expose the APIs 
 through FileSystem for use by other applications.



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


[jira] [Updated] (HDFS-8345) Storage policy APIs must be exposed via the FileSystem interface

2015-05-14 Thread Arpit Agarwal (JIRA)

 [ 
https://issues.apache.org/jira/browse/HDFS-8345?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Arpit Agarwal updated HDFS-8345:

Attachment: HDFS-8345.05.patch

v5: Rebase to trunk.

 Storage policy APIs must be exposed via the FileSystem interface
 

 Key: HDFS-8345
 URL: https://issues.apache.org/jira/browse/HDFS-8345
 Project: Hadoop HDFS
  Issue Type: Bug
  Components: hdfs-client
Affects Versions: 2.7.0
Reporter: Arpit Agarwal
Assignee: Arpit Agarwal
  Labels: BB2015-05-TBR
 Attachments: HDFS-8345.01.patch, HDFS-8345.02.patch, 
 HDFS-8345.03.patch, HDFS-8345.04.patch, HDFS-8345.05.patch


 The storage policy APIs are not exposed via FileSystem. Since 
 DistributedFileSystem is tagged as LimitedPrivate we should expose the APIs 
 through FileSystem for use by other applications.



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


[jira] [Updated] (HDFS-8345) Storage policy APIs must be exposed via the FileSystem interface

2015-05-14 Thread Arpit Agarwal (JIRA)

 [ 
https://issues.apache.org/jira/browse/HDFS-8345?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Arpit Agarwal updated HDFS-8345:

Attachment: HDFS-8345.04.patch

Fixed failed tests. Remaining Jenkins issues look like false positives.

 Storage policy APIs must be exposed via the FileSystem interface
 

 Key: HDFS-8345
 URL: https://issues.apache.org/jira/browse/HDFS-8345
 Project: Hadoop HDFS
  Issue Type: Bug
  Components: hdfs-client
Affects Versions: 2.7.0
Reporter: Arpit Agarwal
Assignee: Arpit Agarwal
  Labels: BB2015-05-TBR
 Attachments: HDFS-8345.01.patch, HDFS-8345.02.patch, 
 HDFS-8345.03.patch, HDFS-8345.04.patch


 The storage policy APIs are not exposed via FileSystem. Since 
 DistributedFileSystem is tagged as LimitedPrivate we should expose the APIs 
 through FileSystem for use by other applications.



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


[jira] [Updated] (HDFS-8345) Storage policy APIs must be exposed via the FileSystem interface

2015-05-13 Thread Arpit Agarwal (JIRA)

 [ 
https://issues.apache.org/jira/browse/HDFS-8345?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Arpit Agarwal updated HDFS-8345:

Attachment: HDFS-8345.03.patch

Thank you Jing. I didn't see your latest comment last time.

The updated patch does something similar, it adds an interface 
{{BlockStoragePolicySpi}} which can be used to query all storage policy 
properties of interest to applications. {{BlockStoragePolicy}} inherits the 
interface and remains private.

Also fixed a checkstyle issue, the remaining ones are unrelated to the patch.

 Storage policy APIs must be exposed via the FileSystem interface
 

 Key: HDFS-8345
 URL: https://issues.apache.org/jira/browse/HDFS-8345
 Project: Hadoop HDFS
  Issue Type: Bug
  Components: hdfs-client
Affects Versions: 2.7.0
Reporter: Arpit Agarwal
Assignee: Arpit Agarwal
  Labels: BB2015-05-TBR
 Attachments: HDFS-8345.01.patch, HDFS-8345.02.patch, 
 HDFS-8345.03.patch


 The storage policy APIs are not exposed via FileSystem. Since 
 DistributedFileSystem is tagged as LimitedPrivate we should expose the APIs 
 through FileSystem for use by other applications.



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


[jira] [Updated] (HDFS-8345) Storage policy APIs must be exposed via the FileSystem interface

2015-05-12 Thread Arpit Agarwal (JIRA)

 [ 
https://issues.apache.org/jira/browse/HDFS-8345?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Arpit Agarwal updated HDFS-8345:

Status: Patch Available  (was: Open)

 Storage policy APIs must be exposed via the FileSystem interface
 

 Key: HDFS-8345
 URL: https://issues.apache.org/jira/browse/HDFS-8345
 Project: Hadoop HDFS
  Issue Type: Bug
  Components: hdfs-client
Affects Versions: 2.7.0
Reporter: Arpit Agarwal
Assignee: Arpit Agarwal
  Labels: BB2015-05-TBR
 Attachments: HDFS-8345.01.patch


 The storage policy APIs are not exposed via FileSystem. Since 
 DistributedFileSystem is tagged as LimitedPrivate we should expose the APIs 
 through FileSystem for use by other applications.



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


[jira] [Updated] (HDFS-8345) Storage policy APIs must be exposed via the FileSystem interface

2015-05-12 Thread Arpit Agarwal (JIRA)

 [ 
https://issues.apache.org/jira/browse/HDFS-8345?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Arpit Agarwal updated HDFS-8345:

Status: Open  (was: Patch Available)

 Storage policy APIs must be exposed via the FileSystem interface
 

 Key: HDFS-8345
 URL: https://issues.apache.org/jira/browse/HDFS-8345
 Project: Hadoop HDFS
  Issue Type: Bug
  Components: hdfs-client
Affects Versions: 2.7.0
Reporter: Arpit Agarwal
Assignee: Arpit Agarwal
  Labels: BB2015-05-TBR
 Attachments: HDFS-8345.01.patch


 The storage policy APIs are not exposed via FileSystem. Since 
 DistributedFileSystem is tagged as LimitedPrivate we should expose the APIs 
 through FileSystem for use by other applications.



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


[jira] [Updated] (HDFS-8345) Storage policy APIs must be exposed via the FileSystem interface

2015-05-12 Thread Arpit Agarwal (JIRA)

 [ 
https://issues.apache.org/jira/browse/HDFS-8345?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Arpit Agarwal updated HDFS-8345:

Attachment: HDFS-8345.02.patch

Thanks [~xyao]. Added test and fixed missing exception in Javadoc.

bq. 2. Do we miss the ViewFS#getStoragePolicyNames() override since 
ViewFS#setStoragePolicy is override. Or we expect it fallback to 
FileSystem#getStoragePoliciyNames that throws UnsupportedOperationException?
Correct. In the absence of a path name we cannot know which NameSystem to 
forward the call.

 Storage policy APIs must be exposed via the FileSystem interface
 

 Key: HDFS-8345
 URL: https://issues.apache.org/jira/browse/HDFS-8345
 Project: Hadoop HDFS
  Issue Type: Bug
  Components: hdfs-client
Affects Versions: 2.7.0
Reporter: Arpit Agarwal
Assignee: Arpit Agarwal
  Labels: BB2015-05-TBR
 Attachments: HDFS-8345.01.patch, HDFS-8345.02.patch


 The storage policy APIs are not exposed via FileSystem. Since 
 DistributedFileSystem is tagged as LimitedPrivate we should expose the APIs 
 through FileSystem for use by other applications.



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


[jira] [Updated] (HDFS-8345) Storage policy APIs must be exposed via the FileSystem interface

2015-05-08 Thread Arpit Agarwal (JIRA)

 [ 
https://issues.apache.org/jira/browse/HDFS-8345?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Arpit Agarwal updated HDFS-8345:

Labels: BB2015-05-TBR  (was: )

 Storage policy APIs must be exposed via the FileSystem interface
 

 Key: HDFS-8345
 URL: https://issues.apache.org/jira/browse/HDFS-8345
 Project: Hadoop HDFS
  Issue Type: Bug
  Components: hdfs-client
Affects Versions: 2.7.0
Reporter: Arpit Agarwal
Assignee: Arpit Agarwal
  Labels: BB2015-05-TBR
 Attachments: HDFS-8345.01.patch


 The storage policy APIs are not exposed via FileSystem. Since 
 DistributedFileSystem is tagged as LimitedPrivate we should expose the APIs 
 through FileSystem for use by other applications.



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


[jira] [Updated] (HDFS-8345) Storage policy APIs must be exposed via the FileSystem interface

2015-05-07 Thread Arpit Agarwal (JIRA)

 [ 
https://issues.apache.org/jira/browse/HDFS-8345?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Arpit Agarwal updated HDFS-8345:

Summary: Storage policy APIs must be exposed via the FileSystem interface  
(was: Storage policy APIs must be exposed via FileSystem API)

 Storage policy APIs must be exposed via the FileSystem interface
 

 Key: HDFS-8345
 URL: https://issues.apache.org/jira/browse/HDFS-8345
 Project: Hadoop HDFS
  Issue Type: Bug
  Components: hdfs-client
Affects Versions: 2.7.0
Reporter: Arpit Agarwal
Assignee: Arpit Agarwal

 The storage policy APIs are not exposed via FileSystem. Since 
 DistributedFileSystem is tagged as LimitedPrivate we should expose the APIs 
 through FileSystem for use by other applications.



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


[jira] [Updated] (HDFS-8345) Storage policy APIs must be exposed via the FileSystem interface

2015-05-07 Thread Arpit Agarwal (JIRA)

 [ 
https://issues.apache.org/jira/browse/HDFS-8345?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Arpit Agarwal updated HDFS-8345:

Status: Patch Available  (was: Open)

 Storage policy APIs must be exposed via the FileSystem interface
 

 Key: HDFS-8345
 URL: https://issues.apache.org/jira/browse/HDFS-8345
 Project: Hadoop HDFS
  Issue Type: Bug
  Components: hdfs-client
Affects Versions: 2.7.0
Reporter: Arpit Agarwal
Assignee: Arpit Agarwal
 Attachments: HDFS-8345.01.patch


 The storage policy APIs are not exposed via FileSystem. Since 
 DistributedFileSystem is tagged as LimitedPrivate we should expose the APIs 
 through FileSystem for use by other applications.



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


[jira] [Updated] (HDFS-8345) Storage policy APIs must be exposed via the FileSystem interface

2015-05-07 Thread Arpit Agarwal (JIRA)

 [ 
https://issues.apache.org/jira/browse/HDFS-8345?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Arpit Agarwal updated HDFS-8345:

Attachment: HDFS-8345.01.patch

 Storage policy APIs must be exposed via the FileSystem interface
 

 Key: HDFS-8345
 URL: https://issues.apache.org/jira/browse/HDFS-8345
 Project: Hadoop HDFS
  Issue Type: Bug
  Components: hdfs-client
Affects Versions: 2.7.0
Reporter: Arpit Agarwal
Assignee: Arpit Agarwal
 Attachments: HDFS-8345.01.patch


 The storage policy APIs are not exposed via FileSystem. Since 
 DistributedFileSystem is tagged as LimitedPrivate we should expose the APIs 
 through FileSystem for use by other applications.



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