[jira] [Updated] (HDFS-11893) Fix TestDFSShell.testMoveWithTargetPortEmpty failure.

2017-06-01 Thread Akira Ajisaka (JIRA)

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

Akira Ajisaka updated HDFS-11893:
-
Fix Version/s: (was: 2.8.2)

> Fix TestDFSShell.testMoveWithTargetPortEmpty failure.
> -
>
> Key: HDFS-11893
> URL: https://issues.apache.org/jira/browse/HDFS-11893
> Project: Hadoop HDFS
>  Issue Type: Bug
>  Components: test
>Affects Versions: 2.7.4
>Reporter: Konstantin Shvachko
>Assignee: Brahma Reddy Battula
> Fix For: 2.9.0, 2.7.4, 3.0.0-alpha4, 2.8.1
>
> Attachments: HDFS-11893-001.patch, HDFS-11893-002.patch, 
> org.apache.hadoop.hdfs.TestDFSShell-output.txt, 
> org.apache.hadoop.hdfs.TestDFSShell.txt
>
>
> {{TestDFSShell.testMoveWithTargetPortEmpty()}} is consistently failing.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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



[jira] [Updated] (HDFS-11893) Fix TestDFSShell.testMoveWithTargetPortEmpty failure.

2017-06-01 Thread Brahma Reddy Battula (JIRA)

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

Brahma Reddy Battula updated HDFS-11893:

Labels:   (was: release-blocker)

> Fix TestDFSShell.testMoveWithTargetPortEmpty failure.
> -
>
> Key: HDFS-11893
> URL: https://issues.apache.org/jira/browse/HDFS-11893
> Project: Hadoop HDFS
>  Issue Type: Bug
>  Components: test
>Affects Versions: 2.7.4
>Reporter: Konstantin Shvachko
>Assignee: Brahma Reddy Battula
> Fix For: 2.9.0, 2.7.4, 3.0.0-alpha4, 2.8.1, 2.8.2
>
> Attachments: HDFS-11893-001.patch, HDFS-11893-002.patch, 
> org.apache.hadoop.hdfs.TestDFSShell-output.txt, 
> org.apache.hadoop.hdfs.TestDFSShell.txt
>
>
> {{TestDFSShell.testMoveWithTargetPortEmpty()}} is consistently failing.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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



[jira] [Updated] (HDFS-11893) Fix TestDFSShell.testMoveWithTargetPortEmpty failure.

2017-06-01 Thread Brahma Reddy Battula (JIRA)

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

Brahma Reddy Battula updated HDFS-11893:

   Resolution: Fixed
 Hadoop Flags: Reviewed
Fix Version/s: 2.8.2
   2.8.1
   3.0.0-alpha4
   2.7.4
   2.9.0
   Status: Resolved  (was: Patch Available)

Committed to trunk,branch-2,branch-2.8,branch-2.8.1 and branch-2.7.

[~shv] thanks a lot for reporting and reviewing the patch..[~ajisakaa] thanks 
for additional review.

> Fix TestDFSShell.testMoveWithTargetPortEmpty failure.
> -
>
> Key: HDFS-11893
> URL: https://issues.apache.org/jira/browse/HDFS-11893
> Project: Hadoop HDFS
>  Issue Type: Bug
>  Components: test
>Affects Versions: 2.7.4
>Reporter: Konstantin Shvachko
>Assignee: Brahma Reddy Battula
>  Labels: release-blocker
> Fix For: 2.9.0, 2.7.4, 3.0.0-alpha4, 2.8.1, 2.8.2
>
> Attachments: HDFS-11893-001.patch, HDFS-11893-002.patch, 
> org.apache.hadoop.hdfs.TestDFSShell-output.txt, 
> org.apache.hadoop.hdfs.TestDFSShell.txt
>
>
> {{TestDFSShell.testMoveWithTargetPortEmpty()}} is consistently failing.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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



[jira] [Updated] (HDFS-11893) Fix TestDFSShell.testMoveWithTargetPortEmpty failure.

2017-05-31 Thread Brahma Reddy Battula (JIRA)

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

Brahma Reddy Battula updated HDFS-11893:

Attachment: HDFS-11893-002.patch

[~shv] thanks for uploading the console logs..

Yes,this scenario other than which I mentioned..looks in your environment 
localhost mapping is not there and hostname came as 
{{kshvachk-ld1.linkedin.biz}} hence it's failing.
{noformat}
mv: `hdfs://kshvachk-ld1.linkedin.biz:9820/testfile': Does not match target 
filesystem
{noformat}

Uploaded the patch to address this scenario also,kindly review.

> Fix TestDFSShell.testMoveWithTargetPortEmpty failure.
> -
>
> Key: HDFS-11893
> URL: https://issues.apache.org/jira/browse/HDFS-11893
> Project: Hadoop HDFS
>  Issue Type: Bug
>  Components: test
>Affects Versions: 2.7.4
>Reporter: Konstantin Shvachko
>Assignee: Brahma Reddy Battula
>  Labels: release-blocker
> Attachments: HDFS-11893-001.patch, HDFS-11893-002.patch, 
> org.apache.hadoop.hdfs.TestDFSShell-output.txt, 
> org.apache.hadoop.hdfs.TestDFSShell.txt
>
>
> {{TestDFSShell.testMoveWithTargetPortEmpty()}} is consistently failing.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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



[jira] [Updated] (HDFS-11893) Fix TestDFSShell.testMoveWithTargetPortEmpty failure.

2017-05-30 Thread Konstantin Shvachko (JIRA)

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

Konstantin Shvachko updated HDFS-11893:
---
Attachment: org.apache.hadoop.hdfs.TestDFSShell-output.txt
org.apache.hadoop.hdfs.TestDFSShell.txt

Attaching logs after running the following command on trunk with your patch 
applied:
{{mvn clean test -Dtest=TestDFSShell#testMoveWithTargetPortEmpty}}

> Fix TestDFSShell.testMoveWithTargetPortEmpty failure.
> -
>
> Key: HDFS-11893
> URL: https://issues.apache.org/jira/browse/HDFS-11893
> Project: Hadoop HDFS
>  Issue Type: Bug
>  Components: test
>Affects Versions: 2.7.4
>Reporter: Konstantin Shvachko
>Assignee: Brahma Reddy Battula
>  Labels: release-blocker
> Attachments: HDFS-11893-001.patch, 
> org.apache.hadoop.hdfs.TestDFSShell-output.txt, 
> org.apache.hadoop.hdfs.TestDFSShell.txt
>
>
> {{TestDFSShell.testMoveWithTargetPortEmpty()}} is consistently failing.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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



[jira] [Updated] (HDFS-11893) Fix TestDFSShell.testMoveWithTargetPortEmpty failure.

2017-05-27 Thread Konstantin Shvachko (JIRA)

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

Konstantin Shvachko updated HDFS-11893:
---
Summary: Fix TestDFSShell.testMoveWithTargetPortEmpty failure.  (was: 
Fix TestDFSShell.testMoveWithTargetPortEmpty failure on branch-2.7)
Description: {{TestDFSShell.testMoveWithTargetPortEmpty()}} is consistently 
failing.  (was: {{TestDFSShell.testMoveWithTargetPortEmpty()}} is consistently 
failing on branch-2.7.)

I did reproduce this on trunk on Linux, so it is indeed not specific for 
branch-2.7. Changing the title and description.
But your patch didn't fix it for me. Same failure. Adding stack trace for trunk
{code}
Running org.apache.hadoop.hdfs.TestDFSShell
Tests run: 48, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 17.509 sec <<< 
FAILURE! - in org.apache.hadoop.hdfs.TestDFSShell
testMoveWithTargetPortEmpty(org.apache.hadoop.hdfs.TestDFSShell)  Time elapsed: 
0.402 sec  <<< FAILURE!
java.lang.AssertionError: mv should have succeeded expected:<0> but was:<1>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:743)
at org.junit.Assert.assertEquals(Assert.java:118)
at org.junit.Assert.assertEquals(Assert.java:555)
at 
org.apache.hadoop.hdfs.TestDFSShell.testMoveWithTargetPortEmpty(TestDFSShell.java:798)
{code}

> Fix TestDFSShell.testMoveWithTargetPortEmpty failure.
> -
>
> Key: HDFS-11893
> URL: https://issues.apache.org/jira/browse/HDFS-11893
> Project: Hadoop HDFS
>  Issue Type: Bug
>  Components: test
>Affects Versions: 2.7.4
>Reporter: Konstantin Shvachko
>Assignee: Brahma Reddy Battula
>  Labels: release-blocker
> Attachments: HDFS-11893-001.patch
>
>
> {{TestDFSShell.testMoveWithTargetPortEmpty()}} is consistently failing.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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



[jira] [Updated] (HDFS-11893) Fix TestDFSShell.testMoveWithTargetPortEmpty failure on branch-2.7

2017-05-27 Thread Brahma Reddy Battula (JIRA)

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

Brahma Reddy Battula updated HDFS-11893:

Attachment: HDFS-11893-001.patch

> Fix TestDFSShell.testMoveWithTargetPortEmpty failure on branch-2.7
> --
>
> Key: HDFS-11893
> URL: https://issues.apache.org/jira/browse/HDFS-11893
> Project: Hadoop HDFS
>  Issue Type: Bug
>  Components: test
>Affects Versions: 2.7.4
>Reporter: Konstantin Shvachko
>Assignee: Brahma Reddy Battula
>  Labels: release-blocker
> Attachments: HDFS-11893-001.patch
>
>
> {{TestDFSShell.testMoveWithTargetPortEmpty()}} is consistently failing on 
> branch-2.7.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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



[jira] [Updated] (HDFS-11893) Fix TestDFSShell.testMoveWithTargetPortEmpty failure on branch-2.7

2017-05-27 Thread Brahma Reddy Battula (JIRA)

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

Brahma Reddy Battula updated HDFS-11893:

Attachment: (was: HDFS-11893-001)

> Fix TestDFSShell.testMoveWithTargetPortEmpty failure on branch-2.7
> --
>
> Key: HDFS-11893
> URL: https://issues.apache.org/jira/browse/HDFS-11893
> Project: Hadoop HDFS
>  Issue Type: Bug
>  Components: test
>Affects Versions: 2.7.4
>Reporter: Konstantin Shvachko
>Assignee: Brahma Reddy Battula
>  Labels: release-blocker
> Attachments: HDFS-11893-001.patch
>
>
> {{TestDFSShell.testMoveWithTargetPortEmpty()}} is consistently failing on 
> branch-2.7.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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



[jira] [Updated] (HDFS-11893) Fix TestDFSShell.testMoveWithTargetPortEmpty failure on branch-2.7

2017-05-27 Thread Brahma Reddy Battula (JIRA)

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

Brahma Reddy Battula updated HDFS-11893:

Attachment: HDFS-11893-001

AFAIK, this will will fail in all {{branches}} afrer {{HDFS-10923}} in windows 
at least.

Problem with {{InetSocketAddress#getHostName}} which will return {{localhost}} 
and {{127.0.0.1}} for linux and windows.

Sample program which I tried.
   {code} InetSocketAddress inet = new 
InetSocketAddress("127.0.0.1",9820);
System.out.println("hostname: "+inet.getHostName());{code}  


Uploaded the patch to handle this..Kindly review.

> Fix TestDFSShell.testMoveWithTargetPortEmpty failure on branch-2.7
> --
>
> Key: HDFS-11893
> URL: https://issues.apache.org/jira/browse/HDFS-11893
> Project: Hadoop HDFS
>  Issue Type: Bug
>  Components: test
>Affects Versions: 2.7.4
>Reporter: Konstantin Shvachko
>Assignee: Brahma Reddy Battula
>  Labels: release-blocker
> Attachments: HDFS-11893-001
>
>
> {{TestDFSShell.testMoveWithTargetPortEmpty()}} is consistently failing on 
> branch-2.7.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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



[jira] [Updated] (HDFS-11893) Fix TestDFSShell.testMoveWithTargetPortEmpty failure on branch-2.7

2017-05-27 Thread Brahma Reddy Battula (JIRA)

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

Brahma Reddy Battula updated HDFS-11893:

Status: Patch Available  (was: Open)

> Fix TestDFSShell.testMoveWithTargetPortEmpty failure on branch-2.7
> --
>
> Key: HDFS-11893
> URL: https://issues.apache.org/jira/browse/HDFS-11893
> Project: Hadoop HDFS
>  Issue Type: Bug
>  Components: test
>Affects Versions: 2.7.4
>Reporter: Konstantin Shvachko
>Assignee: Brahma Reddy Battula
>  Labels: release-blocker
> Attachments: HDFS-11893-001
>
>
> {{TestDFSShell.testMoveWithTargetPortEmpty()}} is consistently failing on 
> branch-2.7.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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