[jira] [Commented] (HDFS-8444) Erasure Coding: fix cannot rename a zone dir

2015-09-30 Thread Hudson (JIRA)

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

Hudson commented on HDFS-8444:
--

FAILURE: Integrated in Hadoop-Yarn-trunk-Java8 #473 (See 
[https://builds.apache.org/job/Hadoop-Yarn-trunk-Java8/473/])
HDFS-8444. Erasure Coding: fix cannot rename a zone dir (Contributed by 
(vinayakumarb: rev 2d847e7d620f97ebe8e9297361e2541d7d0ecd50)
* 
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/ErasureCodingZoneManager.java
* hadoop-hdfs-project/hadoop-hdfs/CHANGES-HDFS-EC-7285.txt
* 
hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestErasureCodingZones.java


> Erasure Coding: fix cannot rename a zone dir
> 
>
> Key: HDFS-8444
> URL: https://issues.apache.org/jira/browse/HDFS-8444
> Project: Hadoop HDFS
>  Issue Type: Sub-task
>Reporter: Walter Su
>Assignee: Walter Su
> Fix For: HDFS-7285
>
> Attachments: HDFS-8444-HDFS-7285.001.patch, 
> HDFS-8444-HDFS-7285.002.patch
>
>
> We create a EC zone {{/my_ec_zone}}.
> We want to rename it to {{/myZone}}.
> But it failed.



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


[jira] [Commented] (HDFS-8444) Erasure Coding: fix cannot rename a zone dir

2015-09-30 Thread Hudson (JIRA)

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

Hudson commented on HDFS-8444:
--

FAILURE: Integrated in Hadoop-Hdfs-trunk-Java8 #439 (See 
[https://builds.apache.org/job/Hadoop-Hdfs-trunk-Java8/439/])
HDFS-8444. Erasure Coding: fix cannot rename a zone dir (Contributed by 
(vinayakumarb: rev 2d847e7d620f97ebe8e9297361e2541d7d0ecd50)
* 
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/ErasureCodingZoneManager.java
* 
hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestErasureCodingZones.java
* hadoop-hdfs-project/hadoop-hdfs/CHANGES-HDFS-EC-7285.txt


> Erasure Coding: fix cannot rename a zone dir
> 
>
> Key: HDFS-8444
> URL: https://issues.apache.org/jira/browse/HDFS-8444
> Project: Hadoop HDFS
>  Issue Type: Sub-task
>Reporter: Walter Su
>Assignee: Walter Su
> Fix For: HDFS-7285
>
> Attachments: HDFS-8444-HDFS-7285.001.patch, 
> HDFS-8444-HDFS-7285.002.patch
>
>
> We create a EC zone {{/my_ec_zone}}.
> We want to rename it to {{/myZone}}.
> But it failed.



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


[jira] [Commented] (HDFS-8444) Erasure Coding: fix cannot rename a zone dir

2015-09-30 Thread Hudson (JIRA)

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

Hudson commented on HDFS-8444:
--

FAILURE: Integrated in Hadoop-Mapreduce-trunk-Java8 #465 (See 
[https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Java8/465/])
HDFS-8444. Erasure Coding: fix cannot rename a zone dir (Contributed by 
(vinayakumarb: rev 2d847e7d620f97ebe8e9297361e2541d7d0ecd50)
* hadoop-hdfs-project/hadoop-hdfs/CHANGES-HDFS-EC-7285.txt
* 
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/ErasureCodingZoneManager.java
* 
hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestErasureCodingZones.java


> Erasure Coding: fix cannot rename a zone dir
> 
>
> Key: HDFS-8444
> URL: https://issues.apache.org/jira/browse/HDFS-8444
> Project: Hadoop HDFS
>  Issue Type: Sub-task
>Reporter: Walter Su
>Assignee: Walter Su
> Fix For: HDFS-7285
>
> Attachments: HDFS-8444-HDFS-7285.001.patch, 
> HDFS-8444-HDFS-7285.002.patch
>
>
> We create a EC zone {{/my_ec_zone}}.
> We want to rename it to {{/myZone}}.
> But it failed.



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


[jira] [Commented] (HDFS-8444) Erasure Coding: fix cannot rename a zone dir

2015-09-30 Thread Hudson (JIRA)

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

Hudson commented on HDFS-8444:
--

FAILURE: Integrated in Hadoop-Mapreduce-trunk #2408 (See 
[https://builds.apache.org/job/Hadoop-Mapreduce-trunk/2408/])
HDFS-8444. Erasure Coding: fix cannot rename a zone dir (Contributed by 
(vinayakumarb: rev 2d847e7d620f97ebe8e9297361e2541d7d0ecd50)
* hadoop-hdfs-project/hadoop-hdfs/CHANGES-HDFS-EC-7285.txt
* 
hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestErasureCodingZones.java
* 
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/ErasureCodingZoneManager.java


> Erasure Coding: fix cannot rename a zone dir
> 
>
> Key: HDFS-8444
> URL: https://issues.apache.org/jira/browse/HDFS-8444
> Project: Hadoop HDFS
>  Issue Type: Sub-task
>Reporter: Walter Su
>Assignee: Walter Su
> Fix For: HDFS-7285
>
> Attachments: HDFS-8444-HDFS-7285.001.patch, 
> HDFS-8444-HDFS-7285.002.patch
>
>
> We create a EC zone {{/my_ec_zone}}.
> We want to rename it to {{/myZone}}.
> But it failed.



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


[jira] [Commented] (HDFS-8444) Erasure Coding: fix cannot rename a zone dir

2015-09-30 Thread Hudson (JIRA)

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

Hudson commented on HDFS-8444:
--

FAILURE: Integrated in Hadoop-Yarn-trunk #1203 (See 
[https://builds.apache.org/job/Hadoop-Yarn-trunk/1203/])
HDFS-8444. Erasure Coding: fix cannot rename a zone dir (Contributed by 
(vinayakumarb: rev 2d847e7d620f97ebe8e9297361e2541d7d0ecd50)
* 
hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestErasureCodingZones.java
* hadoop-hdfs-project/hadoop-hdfs/CHANGES-HDFS-EC-7285.txt
* 
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/ErasureCodingZoneManager.java


> Erasure Coding: fix cannot rename a zone dir
> 
>
> Key: HDFS-8444
> URL: https://issues.apache.org/jira/browse/HDFS-8444
> Project: Hadoop HDFS
>  Issue Type: Sub-task
>Reporter: Walter Su
>Assignee: Walter Su
> Fix For: HDFS-7285
>
> Attachments: HDFS-8444-HDFS-7285.001.patch, 
> HDFS-8444-HDFS-7285.002.patch
>
>
> We create a EC zone {{/my_ec_zone}}.
> We want to rename it to {{/myZone}}.
> But it failed.



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


[jira] [Commented] (HDFS-8444) Erasure Coding: fix cannot rename a zone dir

2015-09-30 Thread Hudson (JIRA)

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

Hudson commented on HDFS-8444:
--

FAILURE: Integrated in Hadoop-trunk-Commit #8548 (See 
[https://builds.apache.org/job/Hadoop-trunk-Commit/8548/])
HDFS-8444. Erasure Coding: fix cannot rename a zone dir (Contributed by 
(vinayakumarb: rev 2d847e7d620f97ebe8e9297361e2541d7d0ecd50)
* hadoop-hdfs-project/hadoop-hdfs/CHANGES-HDFS-EC-7285.txt
* 
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/ErasureCodingZoneManager.java
* 
hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestErasureCodingZones.java


> Erasure Coding: fix cannot rename a zone dir
> 
>
> Key: HDFS-8444
> URL: https://issues.apache.org/jira/browse/HDFS-8444
> Project: Hadoop HDFS
>  Issue Type: Sub-task
>Reporter: Walter Su
>Assignee: Walter Su
> Fix For: HDFS-7285
>
> Attachments: HDFS-8444-HDFS-7285.001.patch, 
> HDFS-8444-HDFS-7285.002.patch
>
>
> We create a EC zone {{/my_ec_zone}}.
> We want to rename it to {{/myZone}}.
> But it failed.



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


[jira] [Commented] (HDFS-8444) Erasure Coding: fix cannot rename a zone dir

2015-09-30 Thread Hudson (JIRA)

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

Hudson commented on HDFS-8444:
--

FAILURE: Integrated in Hadoop-Hdfs-trunk #2379 (See 
[https://builds.apache.org/job/Hadoop-Hdfs-trunk/2379/])
HDFS-8444. Erasure Coding: fix cannot rename a zone dir (Contributed by 
(vinayakumarb: rev 2d847e7d620f97ebe8e9297361e2541d7d0ecd50)
* 
hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestErasureCodingZones.java
* 
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/ErasureCodingZoneManager.java
* hadoop-hdfs-project/hadoop-hdfs/CHANGES-HDFS-EC-7285.txt


> Erasure Coding: fix cannot rename a zone dir
> 
>
> Key: HDFS-8444
> URL: https://issues.apache.org/jira/browse/HDFS-8444
> Project: Hadoop HDFS
>  Issue Type: Sub-task
>Reporter: Walter Su
>Assignee: Walter Su
> Fix For: HDFS-7285
>
> Attachments: HDFS-8444-HDFS-7285.001.patch, 
> HDFS-8444-HDFS-7285.002.patch
>
>
> We create a EC zone {{/my_ec_zone}}.
> We want to rename it to {{/myZone}}.
> But it failed.



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


[jira] [Commented] (HDFS-8444) Erasure Coding: fix cannot rename a zone dir

2015-06-02 Thread Vinayakumar B (JIRA)

[ 
https://issues.apache.org/jira/browse/HDFS-8444?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14568948#comment-14568948
 ] 

Vinayakumar B commented on HDFS-8444:
-

+1, LGTM.
Will commit soon

 Erasure Coding: fix cannot rename a zone dir
 

 Key: HDFS-8444
 URL: https://issues.apache.org/jira/browse/HDFS-8444
 Project: Hadoop HDFS
  Issue Type: Sub-task
Reporter: Walter Su
Assignee: Walter Su
 Attachments: HDFS-8444-HDFS-7285.001.patch, 
 HDFS-8444-HDFS-7285.002.patch


 We create a EC zone {{/my_ec_zone}}.
 We want to rename it to {{/myZone}}.
 But it failed.



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


[jira] [Commented] (HDFS-8444) Erasure Coding: fix cannot rename a zone dir

2015-06-02 Thread Hadoop QA (JIRA)

[ 
https://issues.apache.org/jira/browse/HDFS-8444?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14568889#comment-14568889
 ] 

Hadoop QA commented on HDFS-8444:
-

\\
\\
| (x) *{color:red}-1 overall{color}* |
\\
\\
|| Vote || Subsystem || Runtime || Comment ||
| {color:red}-1{color} | pre-patch |  15m 18s | Findbugs (version ) appears to 
be broken on HDFS-7285. |
| {color:green}+1{color} | @author |   0m  0s | The patch does not contain any 
@author tags. |
| {color:green}+1{color} | tests included |   0m  0s | The patch appears to 
include 1 new or modified test files. |
| {color:green}+1{color} | javac |   7m 34s | There were no new javac warning 
messages. |
| {color:green}+1{color} | javadoc |   9m 47s | There were no new javadoc 
warning messages. |
| {color:red}-1{color} | release audit |   0m 15s | The applied patch generated 
1 release audit warnings. |
| {color:green}+1{color} | checkstyle |   0m 38s | There were no new checkstyle 
issues. |
| {color:green}+1{color} | whitespace |   0m  0s | The patch has no lines that 
end in whitespace. |
| {color:green}+1{color} | install |   1m 40s | mvn install still works. |
| {color:green}+1{color} | eclipse:eclipse |   0m 33s | The patch built with 
eclipse:eclipse. |
| {color:red}-1{color} | findbugs |   3m 26s | The patch appears to introduce 1 
new Findbugs (version 3.0.0) warnings. |
| {color:green}+1{color} | native |   3m 15s | Pre-build of native portion |
| {color:red}-1{color} | hdfs tests | 172m 46s | Tests failed in hadoop-hdfs. |
| | | 215m 18s | |
\\
\\
|| Reason || Tests ||
| FindBugs | module:hadoop-hdfs |
| Failed unit tests | hadoop.hdfs.server.blockmanagement.TestBlockInfo |
|   | hadoop.hdfs.server.blockmanagement.TestBlockTokenWithDFS |
|   | hadoop.hdfs.server.namenode.TestAuditLogs |
|   | hadoop.hdfs.server.namenode.TestFileTruncate |
|   | hadoop.hdfs.TestRecoverStripedFile |
|   | hadoop.hdfs.TestEncryptedTransfer |
\\
\\
|| Subsystem || Report/Notes ||
| Patch URL | 
http://issues.apache.org/jira/secure/attachment/12736761/HDFS-8444-HDFS-7285.002.patch
 |
| Optional Tests | javadoc javac unit findbugs checkstyle |
| git revision | HDFS-7285 / 0799e1e |
| Release Audit | 
https://builds.apache.org/job/PreCommit-HDFS-Build/11198/artifact/patchprocess/patchReleaseAuditProblems.txt
 |
| Findbugs warnings | 
https://builds.apache.org/job/PreCommit-HDFS-Build/11198/artifact/patchprocess/newPatchFindbugsWarningshadoop-hdfs.html
 |
| hadoop-hdfs test log | 
https://builds.apache.org/job/PreCommit-HDFS-Build/11198/artifact/patchprocess/testrun_hadoop-hdfs.txt
 |
| Test Results | 
https://builds.apache.org/job/PreCommit-HDFS-Build/11198/testReport/ |
| Java | 1.7.0_55 |
| uname | Linux asf900.gq1.ygridcore.net 3.13.0-36-lowlatency #63-Ubuntu SMP 
PREEMPT Wed Sep 3 21:56:12 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux |
| Console output | 
https://builds.apache.org/job/PreCommit-HDFS-Build/11198/console |


This message was automatically generated.

 Erasure Coding: fix cannot rename a zone dir
 

 Key: HDFS-8444
 URL: https://issues.apache.org/jira/browse/HDFS-8444
 Project: Hadoop HDFS
  Issue Type: Sub-task
Reporter: Walter Su
Assignee: Walter Su
 Attachments: HDFS-8444-HDFS-7285.001.patch, 
 HDFS-8444-HDFS-7285.002.patch


 We create a EC zone {{/my_ec_zone}}.
 We want to rename it to {{/myZone}}.
 But it failed.



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


[jira] [Commented] (HDFS-8444) Erasure Coding: fix cannot rename a zone dir

2015-06-01 Thread Vinayakumar B (JIRA)

[ 
https://issues.apache.org/jira/browse/HDFS-8444?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14567193#comment-14567193
 ] 

Vinayakumar B commented on HDFS-8444:
-

Changes looks good.
But how about changing like below.?
{code}   void checkMoveValidity(INodesInPath srcIIP, INodesInPath dstIIP, 
String src)
   throws IOException {
 assert dir.hasReadLock();
-final ECSchema srcSchema = getECSchema(srcIIP);
-final ECSchema dstSchema = getECSchema(dstIIP);
+final ErasureCodingZone srcZone = getECZone(srcIIP);
+final ErasureCodingZone dstZone = getECZone(dstIIP);
+if (srcZone != null  srcZone.getDir().equals(src)  dstZone == null) {
+  return;
+}
+final ECSchema srcSchema = (srcZone != null) ? srcZone.getSchema() : null;
+final ECSchema dstSchema = (dstZone != null) ? dstZone.getSchema() : null;
 if ((srcSchema != null  !srcSchema.equals(dstSchema)) ||
 (dstSchema != null  !dstSchema.equals(srcSchema))) {
   throw new IOException({code}
It would save one more iterate through xattrs to find the zone.

 Erasure Coding: fix cannot rename a zone dir
 

 Key: HDFS-8444
 URL: https://issues.apache.org/jira/browse/HDFS-8444
 Project: Hadoop HDFS
  Issue Type: Sub-task
Reporter: Walter Su
Assignee: Walter Su
 Attachments: HDFS-8444-HDFS-7285.001.patch


 We create a EC zone {{/my_ec_zone}}.
 We want to rename it to {{/myZone}}.
 But it failed.



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


[jira] [Commented] (HDFS-8444) Erasure Coding: fix cannot rename a zone dir

2015-05-24 Thread Takanobu Asanuma (JIRA)

[ 
https://issues.apache.org/jira/browse/HDFS-8444?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14557733#comment-14557733
 ] 

Takanobu Asanuma commented on HDFS-8444:


Thanks for replying, Walter! Now I understand. As you said, EC files must be in 
EC zone.

 Erasure Coding: fix cannot rename a zone dir
 

 Key: HDFS-8444
 URL: https://issues.apache.org/jira/browse/HDFS-8444
 Project: Hadoop HDFS
  Issue Type: Sub-task
Reporter: Walter Su
Assignee: Walter Su
 Attachments: HDFS-8444-HDFS-7285.001.patch


 We create a EC zone {{/my_ec_zone}}.
 We want to rename it to {{/myZone}}.
 But it failed.



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


[jira] [Commented] (HDFS-8444) Erasure Coding: fix cannot rename a zone dir

2015-05-22 Thread Walter Su (JIRA)

[ 
https://issues.apache.org/jira/browse/HDFS-8444?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14555917#comment-14555917
 ] 

Walter Su commented on HDFS-8444:
-

Hi, [~tasanuma0829]! It's a different issue.
EC file doesn't have schema details. So ec files can't be deleted into Trash, 
which is a non-EC-dir, otherwise ec files lose schema details and can't be 
decoded.
EC zone dir has schema details. We move it, file still can be read.

 Erasure Coding: fix cannot rename a zone dir
 

 Key: HDFS-8444
 URL: https://issues.apache.org/jira/browse/HDFS-8444
 Project: Hadoop HDFS
  Issue Type: Sub-task
Reporter: Walter Su
Assignee: Walter Su
 Attachments: HDFS-8444-HDFS-7285.001.patch


 We create a EC zone {{/my_ec_zone}}.
 We want to rename it to {{/myZone}}.
 But it failed.



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


[jira] [Commented] (HDFS-8444) Erasure Coding: fix cannot rename a zone dir

2015-05-22 Thread Takanobu Asanuma (JIRA)

[ 
https://issues.apache.org/jira/browse/HDFS-8444?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14555883#comment-14555883
 ] 

Takanobu Asanuma commented on HDFS-8444:


Thank you for your work, Walter. I have a question. Can we move EC-dir under 
non-EC-dir?
If so, I think HDFS-8373 will be solved. This is like encryption zone 
(HDFS-8040). How does look that?

 Erasure Coding: fix cannot rename a zone dir
 

 Key: HDFS-8444
 URL: https://issues.apache.org/jira/browse/HDFS-8444
 Project: Hadoop HDFS
  Issue Type: Sub-task
Reporter: Walter Su
Assignee: Walter Su
 Attachments: HDFS-8444-HDFS-7285.001.patch


 We create a EC zone {{/my_ec_zone}}.
 We want to rename it to {{/myZone}}.
 But it failed.



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


[jira] [Commented] (HDFS-8444) Erasure Coding: fix cannot rename a zone dir

2015-05-20 Thread Hadoop QA (JIRA)

[ 
https://issues.apache.org/jira/browse/HDFS-8444?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14552633#comment-14552633
 ] 

Hadoop QA commented on HDFS-8444:
-

\\
\\
| (x) *{color:red}-1 overall{color}* |
\\
\\
|| Vote || Subsystem || Runtime || Comment ||
| {color:blue}0{color} | pre-patch |  15m 11s | Pre-patch HDFS-7285 compilation 
is healthy. |
| {color:green}+1{color} | @author |   0m  0s | The patch does not contain any 
@author tags. |
| {color:green}+1{color} | tests included |   0m  0s | The patch appears to 
include 1 new or modified test files. |
| {color:green}+1{color} | javac |   7m 46s | There were no new javac warning 
messages. |
| {color:green}+1{color} | javadoc |   9m 55s | There were no new javadoc 
warning messages. |
| {color:red}-1{color} | release audit |   0m 15s | The applied patch generated 
1 release audit warnings. |
| {color:green}+1{color} | checkstyle |   0m 38s | There were no new checkstyle 
issues. |
| {color:green}+1{color} | whitespace |   0m  0s | The patch has no lines that 
end in whitespace. |
| {color:green}+1{color} | install |   1m 38s | mvn install still works. |
| {color:green}+1{color} | eclipse:eclipse |   0m 33s | The patch built with 
eclipse:eclipse. |
| {color:red}-1{color} | findbugs |   3m 16s | The patch appears to introduce 6 
new Findbugs (version 3.0.0) warnings. |
| {color:green}+1{color} | native |   3m 21s | Pre-build of native portion |
| {color:red}-1{color} | hdfs tests | 182m 35s | Tests failed in hadoop-hdfs. |
| | | 225m 12s | |
\\
\\
|| Reason || Tests ||
| FindBugs | module:hadoop-hdfs |
|  |  Inconsistent synchronization of 
org.apache.hadoop.hdfs.DFSOutputStream.streamer; locked 89% of time  
Unsynchronized access at DFSOutputStream.java:89% of time  Unsynchronized 
access at DFSOutputStream.java:[line 146] |
|  |  Possible null pointer dereference of arr$ in 
org.apache.hadoop.hdfs.server.blockmanagement.BlockInfoStripedUnderConstruction.initializeBlockRecovery(long)
  Dereferenced at BlockInfoStripedUnderConstruction.java:arr$ in 
org.apache.hadoop.hdfs.server.blockmanagement.BlockInfoStripedUnderConstruction.initializeBlockRecovery(long)
  Dereferenced at BlockInfoStripedUnderConstruction.java:[line 194] |
|  |  Unread field:field be static?  At ErasureCodingWorker.java:[line 254] |
|  |  Should 
org.apache.hadoop.hdfs.server.datanode.erasurecode.ErasureCodingWorker$StripedReader
 be a _static_ inner class?  At ErasureCodingWorker.java:inner class?  At 
ErasureCodingWorker.java:[lines 907-914] |
|  |  Result of integer multiplication cast to long in 
org.apache.hadoop.hdfs.util.StripedBlockUtil.constructInternalBlock(LocatedStripedBlock,
 int, int, int, int)  At StripedBlockUtil.java:to long in 
org.apache.hadoop.hdfs.util.StripedBlockUtil.constructInternalBlock(LocatedStripedBlock,
 int, int, int, int)  At StripedBlockUtil.java:[line 108] |
|  |  Result of integer multiplication cast to long in 
org.apache.hadoop.hdfs.util.StripedBlockUtil.getStartOffsetsForInternalBlocks(ECSchema,
 int, LocatedStripedBlock, long)  At StripedBlockUtil.java:to long in 
org.apache.hadoop.hdfs.util.StripedBlockUtil.getStartOffsetsForInternalBlocks(ECSchema,
 int, LocatedStripedBlock, long)  At StripedBlockUtil.java:[line 409] |
| Failed unit tests | hadoop.hdfs.TestEncryptedTransfer |
|   | hadoop.hdfs.server.namenode.TestAuditLogs |
|   | hadoop.hdfs.server.blockmanagement.TestBlockInfo |
|   | hadoop.hdfs.server.namenode.TestFileTruncate |
|   | hadoop.hdfs.server.blockmanagement.TestBlockTokenWithDFS |
|   | hadoop.hdfs.server.blockmanagement.TestReplicationPolicy |
\\
\\
|| Subsystem || Report/Notes ||
| Patch URL | 
http://issues.apache.org/jira/secure/attachment/12734114/HDFS-8444-HDFS-7285.001.patch
 |
| Optional Tests | javadoc javac unit findbugs checkstyle |
| git revision | HDFS-7285 / 4dd4aa5 |
| Release Audit | 
https://builds.apache.org/job/PreCommit-HDFS-Build/11062/artifact/patchprocess/patchReleaseAuditProblems.txt
 |
| Findbugs warnings | 
https://builds.apache.org/job/PreCommit-HDFS-Build/11062/artifact/patchprocess/newPatchFindbugsWarningshadoop-hdfs.html
 |
| hadoop-hdfs test log | 
https://builds.apache.org/job/PreCommit-HDFS-Build/11062/artifact/patchprocess/testrun_hadoop-hdfs.txt
 |
| Test Results | 
https://builds.apache.org/job/PreCommit-HDFS-Build/11062/testReport/ |
| Java | 1.7.0_55 |
| uname | Linux asf903.gq1.ygridcore.net 3.13.0-36-lowlatency #63-Ubuntu SMP 
PREEMPT Wed Sep 3 21:56:12 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux |
| Console output | 
https://builds.apache.org/job/PreCommit-HDFS-Build/11062/console |


This message was automatically generated.

 Erasure Coding: fix cannot rename a zone dir
 

 Key: HDFS-8444
 URL: https://issues.apache.org/jira/browse/HDFS-8444
 Project: Hadoop HDFS
  Issue Type: Sub-task
Reporter: 

[jira] [Commented] (HDFS-8444) Erasure Coding: fix cannot rename a zone dir

2015-05-20 Thread Walter Su (JIRA)

[ 
https://issues.apache.org/jira/browse/HDFS-8444?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14553474#comment-14553474
 ] 

Walter Su commented on HDFS-8444:
-

jenkins not related. Please review.

 Erasure Coding: fix cannot rename a zone dir
 

 Key: HDFS-8444
 URL: https://issues.apache.org/jira/browse/HDFS-8444
 Project: Hadoop HDFS
  Issue Type: Sub-task
Reporter: Walter Su
Assignee: Walter Su
 Attachments: HDFS-8444-HDFS-7285.001.patch


 We create a EC zone {{/my_ec_zone}}.
 We want to rename it to {{/myZone}}.
 But it failed.



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