[jira] [Commented] (TWILL-262) YarnUtils#cloneHaNnCredentials uses DFSUtil#getHaNnRpcAddresses, which is removed from DFSUtils from hadoop-2.8

2018-09-29 Thread Hongyuan Li (JIRA)


[ 
https://issues.apache.org/jira/browse/TWILL-262?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16632853#comment-16632853
 ] 

Hongyuan Li commented on TWILL-262:
---

add errors information as attachment

> YarnUtils#cloneHaNnCredentials uses DFSUtil#getHaNnRpcAddresses, which is 
> removed from DFSUtils from hadoop-2.8 
> 
>
> Key: TWILL-262
> URL: https://issues.apache.org/jira/browse/TWILL-262
> Project: Apache Twill
>  Issue Type: Bug
>  Components: yarn
>Affects Versions: 0.8.0, 0.9.0, 0.11.0, 0.12.0, 0.13.0
>Reporter: Hongyuan Li
>Priority: Major
> Attachments: errors.txt
>
>
> YarnUtils#cloneHaNnCredentials uses DFSUtil#getHaNnRpcAddresses, which is 
> removed from DFSUtils from hadoop-2.8 
> current code
> {code}
>   public static void cloneHaNnCredentials(Configuration config) throws 
> IOException {
> ……
> // Loop through all name services. Each name service could have multiple 
> name node associated with it.
> for (Map.Entry> entry : 
> DFSUtil.getHaNnRpcAddresses(config).entrySet()) {
>   String nsId = entry.getKey();
>   Map addressesInNN = entry.getValue();
>   if (!HAUtil.isHAEnabled(config, nsId) || addressesInNN == null || 
> addressesInNN.isEmpty()) {
> continue;
>   }
>  ……
>   }
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (TWILL-262) YarnUtils#cloneHaNnCredentials uses DFSUtil#getHaNnRpcAddresses, which is removed from DFSUtils from hadoop-2.8

2018-09-29 Thread Hongyuan Li (JIRA)


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

Hongyuan Li updated TWILL-262:
--
Attachment: errors.txt

> YarnUtils#cloneHaNnCredentials uses DFSUtil#getHaNnRpcAddresses, which is 
> removed from DFSUtils from hadoop-2.8 
> 
>
> Key: TWILL-262
> URL: https://issues.apache.org/jira/browse/TWILL-262
> Project: Apache Twill
>  Issue Type: Bug
>  Components: yarn
>Affects Versions: 0.8.0, 0.9.0, 0.11.0, 0.12.0, 0.13.0
>Reporter: Hongyuan Li
>Priority: Major
> Attachments: errors.txt
>
>
> YarnUtils#cloneHaNnCredentials uses DFSUtil#getHaNnRpcAddresses, which is 
> removed from DFSUtils from hadoop-2.8 
> current code
> {code}
>   public static void cloneHaNnCredentials(Configuration config) throws 
> IOException {
> ……
> // Loop through all name services. Each name service could have multiple 
> name node associated with it.
> for (Map.Entry> entry : 
> DFSUtil.getHaNnRpcAddresses(config).entrySet()) {
>   String nsId = entry.getKey();
>   Map addressesInNN = entry.getValue();
>   if (!HAUtil.isHAEnabled(config, nsId) || addressesInNN == null || 
> addressesInNN.isEmpty()) {
> continue;
>   }
>  ……
>   }
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (TWILL-262) YarnUtils#cloneHaNnCredentials uses DFSUtil#getHaNnRpcAddresses, which is removed from DFSUtils from hadoop-2.8

2018-09-29 Thread Hongyuan Li (JIRA)


[ 
https://issues.apache.org/jira/browse/TWILL-262?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16632850#comment-16632850
 ] 

Hongyuan Li commented on TWILL-262:
---

[~chtyim], can you give me a code review ? seems build failure is not caused by 
what i cmmited.

> YarnUtils#cloneHaNnCredentials uses DFSUtil#getHaNnRpcAddresses, which is 
> removed from DFSUtils from hadoop-2.8 
> 
>
> Key: TWILL-262
> URL: https://issues.apache.org/jira/browse/TWILL-262
> Project: Apache Twill
>  Issue Type: Bug
>  Components: yarn
>Affects Versions: 0.8.0, 0.9.0, 0.11.0, 0.12.0, 0.13.0
>Reporter: Hongyuan Li
>Priority: Major
>
> YarnUtils#cloneHaNnCredentials uses DFSUtil#getHaNnRpcAddresses, which is 
> removed from DFSUtils from hadoop-2.8 
> current code
> {code}
>   public static void cloneHaNnCredentials(Configuration config) throws 
> IOException {
> ……
> // Loop through all name services. Each name service could have multiple 
> name node associated with it.
> for (Map.Entry> entry : 
> DFSUtil.getHaNnRpcAddresses(config).entrySet()) {
>   String nsId = entry.getKey();
>   Map addressesInNN = entry.getValue();
>   if (!HAUtil.isHAEnabled(config, nsId) || addressesInNN == null || 
> addressesInNN.isEmpty()) {
> continue;
>   }
>  ……
>   }
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[GitHub] twill pull request #71: TWILL-262 YarnUtils#cloneHaNnCredentials uses DFSUti...

2018-09-29 Thread piaosama
GitHub user piaosama opened a pull request:

https://github.com/apache/twill/pull/71

TWILL-262 YarnUtils#cloneHaNnCredentials uses DFSUtil#getHaNnRpcAddresses, 
which is removed from DFSUtils from hadoop-2.8

TWILL-262 YarnUtils#cloneHaNnCredentials uses DFSUtil#getHaNnRpcAddresses, 
which is removed from DFSUtils from hadoop-2.8

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/piaosama/twill master

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/twill/pull/71.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #71


commit e1e58009c7a40d665ed80b78ebe3e1c3d2aa0f3b
Author: lihongyuan 
Date:   2018-09-29T06:49:47Z

TWILL-262 YarnUtils#cloneHaNnCredentials uses DFSUtil#getHaNnRpcAddresses, 
which is removed from DFSUtils from hadoop-2.8




---


[jira] [Commented] (TWILL-262) YarnUtils#cloneHaNnCredentials uses DFSUtil#getHaNnRpcAddresses, which is removed from DFSUtils from hadoop-2.8

2018-09-29 Thread ASF GitHub Bot (JIRA)


[ 
https://issues.apache.org/jira/browse/TWILL-262?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16632842#comment-16632842
 ] 

ASF GitHub Bot commented on TWILL-262:
--

Github user piaosama commented on the issue:

https://github.com/apache/twill/pull/70
  
seems code style check failed,will try to open a new pull request


> YarnUtils#cloneHaNnCredentials uses DFSUtil#getHaNnRpcAddresses, which is 
> removed from DFSUtils from hadoop-2.8 
> 
>
> Key: TWILL-262
> URL: https://issues.apache.org/jira/browse/TWILL-262
> Project: Apache Twill
>  Issue Type: Bug
>  Components: yarn
>Affects Versions: 0.8.0, 0.9.0, 0.11.0, 0.12.0, 0.13.0
>Reporter: Hongyuan Li
>Priority: Major
>
> YarnUtils#cloneHaNnCredentials uses DFSUtil#getHaNnRpcAddresses, which is 
> removed from DFSUtils from hadoop-2.8 
> current code
> {code}
>   public static void cloneHaNnCredentials(Configuration config) throws 
> IOException {
> ……
> // Loop through all name services. Each name service could have multiple 
> name node associated with it.
> for (Map.Entry> entry : 
> DFSUtil.getHaNnRpcAddresses(config).entrySet()) {
>   String nsId = entry.getKey();
>   Map addressesInNN = entry.getValue();
>   if (!HAUtil.isHAEnabled(config, nsId) || addressesInNN == null || 
> addressesInNN.isEmpty()) {
> continue;
>   }
>  ……
>   }
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (TWILL-262) YarnUtils#cloneHaNnCredentials uses DFSUtil#getHaNnRpcAddresses, which is removed from DFSUtils from hadoop-2.8

2018-09-29 Thread ASF GitHub Bot (JIRA)


[ 
https://issues.apache.org/jira/browse/TWILL-262?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16632843#comment-16632843
 ] 

ASF GitHub Bot commented on TWILL-262:
--

Github user piaosama closed the pull request at:

https://github.com/apache/twill/pull/70


> YarnUtils#cloneHaNnCredentials uses DFSUtil#getHaNnRpcAddresses, which is 
> removed from DFSUtils from hadoop-2.8 
> 
>
> Key: TWILL-262
> URL: https://issues.apache.org/jira/browse/TWILL-262
> Project: Apache Twill
>  Issue Type: Bug
>  Components: yarn
>Affects Versions: 0.8.0, 0.9.0, 0.11.0, 0.12.0, 0.13.0
>Reporter: Hongyuan Li
>Priority: Major
>
> YarnUtils#cloneHaNnCredentials uses DFSUtil#getHaNnRpcAddresses, which is 
> removed from DFSUtils from hadoop-2.8 
> current code
> {code}
>   public static void cloneHaNnCredentials(Configuration config) throws 
> IOException {
> ……
> // Loop through all name services. Each name service could have multiple 
> name node associated with it.
> for (Map.Entry> entry : 
> DFSUtil.getHaNnRpcAddresses(config).entrySet()) {
>   String nsId = entry.getKey();
>   Map addressesInNN = entry.getValue();
>   if (!HAUtil.isHAEnabled(config, nsId) || addressesInNN == null || 
> addressesInNN.isEmpty()) {
> continue;
>   }
>  ……
>   }
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[GitHub] twill pull request #70: TWILL-262 YarnUtils#cloneHaNnCredentials uses DFSUti...

2018-09-29 Thread piaosama
Github user piaosama closed the pull request at:

https://github.com/apache/twill/pull/70


---


[GitHub] twill issue #70: TWILL-262 YarnUtils#cloneHaNnCredentials uses DFSUtil#getHa...

2018-09-29 Thread piaosama
Github user piaosama commented on the issue:

https://github.com/apache/twill/pull/70
  
seems code style check failed,will try to open a new pull request


---


[jira] [Commented] (TWILL-262) YarnUtils#cloneHaNnCredentials uses DFSUtil#getHaNnRpcAddresses, which is removed from DFSUtils from hadoop-2.8

2018-09-29 Thread ASF GitHub Bot (JIRA)


[ 
https://issues.apache.org/jira/browse/TWILL-262?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16632840#comment-16632840
 ] 

ASF GitHub Bot commented on TWILL-262:
--

GitHub user piaosama opened a pull request:

https://github.com/apache/twill/pull/70

TWILL-262 YarnUtils#cloneHaNnCredentials uses DFSUtil#getHaNnRpcAddresses, 
which is removed from DFSUtils from hadoop-2.8

TWILL-262 YarnUtils#cloneHaNnCredentials uses DFSUtil#getHaNnRpcAddresses, 
which is removed from DFSUtils from hadoop-2.8

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/piaosama/twill master

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/twill/pull/70.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #70


commit 892fdc172522aa67d1581b324503fddc912e839c
Author: lihongyuan 
Date:   2018-09-29T06:33:05Z

TWILL-262 YarnUtils#cloneHaNnCredentials uses DFSUtil#getHaNnRpcAddresses, 
which is removed from DFSUtils from hadoop-2.8




> YarnUtils#cloneHaNnCredentials uses DFSUtil#getHaNnRpcAddresses, which is 
> removed from DFSUtils from hadoop-2.8 
> 
>
> Key: TWILL-262
> URL: https://issues.apache.org/jira/browse/TWILL-262
> Project: Apache Twill
>  Issue Type: Bug
>  Components: yarn
>Affects Versions: 0.8.0, 0.9.0, 0.11.0, 0.12.0, 0.13.0
>Reporter: Hongyuan Li
>Priority: Major
>
> YarnUtils#cloneHaNnCredentials uses DFSUtil#getHaNnRpcAddresses, which is 
> removed from DFSUtils from hadoop-2.8 
> current code
> {code}
>   public static void cloneHaNnCredentials(Configuration config) throws 
> IOException {
> ……
> // Loop through all name services. Each name service could have multiple 
> name node associated with it.
> for (Map.Entry> entry : 
> DFSUtil.getHaNnRpcAddresses(config).entrySet()) {
>   String nsId = entry.getKey();
>   Map addressesInNN = entry.getValue();
>   if (!HAUtil.isHAEnabled(config, nsId) || addressesInNN == null || 
> addressesInNN.isEmpty()) {
> continue;
>   }
>  ……
>   }
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[GitHub] twill pull request #70: TWILL-262 YarnUtils#cloneHaNnCredentials uses DFSUti...

2018-09-29 Thread piaosama
GitHub user piaosama opened a pull request:

https://github.com/apache/twill/pull/70

TWILL-262 YarnUtils#cloneHaNnCredentials uses DFSUtil#getHaNnRpcAddresses, 
which is removed from DFSUtils from hadoop-2.8

TWILL-262 YarnUtils#cloneHaNnCredentials uses DFSUtil#getHaNnRpcAddresses, 
which is removed from DFSUtils from hadoop-2.8

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/piaosama/twill master

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/twill/pull/70.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #70


commit 892fdc172522aa67d1581b324503fddc912e839c
Author: lihongyuan 
Date:   2018-09-29T06:33:05Z

TWILL-262 YarnUtils#cloneHaNnCredentials uses DFSUtil#getHaNnRpcAddresses, 
which is removed from DFSUtils from hadoop-2.8




---