You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by GitBox <gi...@apache.org> on 2022/06/20 05:03:59 UTC

[GitHub] [hadoop] PrabhuJoseph commented on pull request #4436: YARN-9971.YARN Native Service HttpProbe logs THIS_HOST in error messages

PrabhuJoseph commented on PR #4436:
URL: https://github.com/apache/hadoop/pull/4436#issuecomment-1159975425

   @ashutoshcipher Shall we assign it to some variable in try and use it from both try and catch clause.
   
   ```
       String hostString = urlString.replace(HOST_TOKEN, ip);
       try {
         URL url = new URL(hostString);
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org