hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hadoop QA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-8805) Archival Storage: getStoragePolicy should not need superuser privilege
Date Fri, 24 Jul 2015 19:16:04 GMT

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

Hadoop QA commented on HDFS-8805:
---------------------------------

\\
\\
| (x) *{color:red}-1 overall{color}* |
\\
\\
|| Vote || Subsystem || Runtime || Comment ||
| {color:blue}0{color} | pre-patch |  17m  5s | Pre-patch trunk compilation is healthy. |
| {color:green}+1{color} | @author |   0m  0s | The patch does not contain any @author tags.
|
| {color:red}-1{color} | tests included |   0m  0s | The patch doesn't appear to include any
new or modified tests.  Please justify why no new tests are needed for this patch. Also please
list what manual steps were performed to verify this patch. |
| {color:red}-1{color} | javac |   1m 35s | The patch appears to cause the build to fail.
|
\\
\\
|| Subsystem || Report/Notes ||
| Patch URL | http://issues.apache.org/jira/secure/attachment/12747087/HDFS-8805-002.patch
|
| Optional Tests | javadoc javac unit findbugs checkstyle |
| git revision | trunk / d19d187 |
| Console output | https://builds.apache.org/job/PreCommit-HDFS-Build/11832/console |


This message was automatically generated.

> Archival Storage: getStoragePolicy should not need superuser privilege
> ----------------------------------------------------------------------
>
>                 Key: HDFS-8805
>                 URL: https://issues.apache.org/jira/browse/HDFS-8805
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: balancer & mover, namenode
>            Reporter: Hui Zheng
>            Assignee: Brahma Reddy Battula
>             Fix For: 2.6.0
>
>         Attachments: HDFS-8805-002.patch, HDFS-8805.patch
>
>
> The result of getStoragePolicy command is always 'unspecified' even we has set a StoragePolicy
on a directory.But the real placement of blocks is correct. 
> The result of fsck is not correct either.
> {code}
> $ hdfs storagepolicies -setStoragePolicy -path /tmp/cold  -policy COLD
> Set storage policy COLD on /tmp/cold
> $ hdfs storagepolicies -getStoragePolicy -path /tmp/cold
> The storage policy of /tmp/cold is unspecified
> $ hdfs fsck -storagepolicies /tmp/cold
> Blocks NOT satisfying the specified storage policy:
> Storage Policy                  Specified Storage Policy      # of blocks       % of
blocks
> ARCHIVE:4(COLD)                     HOT                           5              55.5556%
> ARCHIVE:3(COLD)                     HOT                           4              44.4444%
> {code}



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

Mime
View raw message