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

Eugene Koifman commented on HIVE-4677:
--------------------------------------

There are 2 versions of TempletonJobTracker in hcatalog, 1 for Hadoop 1 and 1 
for Hadoop 2.
Only the one for Hadoop 1 calls this method.

Having 2 versions of the same class is not right and will be take care of in 
HIVE-4460 (soon) but for now this is how it works.

                
> [HCatalog] WebHCat e2e tests fail on Hadoop 2
> ---------------------------------------------
>
>                 Key: HIVE-4677
>                 URL: https://issues.apache.org/jira/browse/HIVE-4677
>             Project: Hive
>          Issue Type: Bug
>          Components: HCatalog
>            Reporter: Daniel Dai
>            Assignee: Daniel Dai
>             Fix For: 0.12.0
>
>         Attachments: HIVE-4677-1.patch
>
>
> curl 
> http://hor5n26.gq1.ygridcore.net:50111/templeton/v1/queue/job_1370377838831_0012?user.name=hrt_qa
> {"error":"Does not contain a valid host:port authority: local"}
> Here is the detailed stacktrace from the server:
> {code}
> WARN  | 04 Jun 2013 22:21:52,204 | org.apache.hadoop.conf.Configuration | 
> mapred.job.tracker is deprecated. Instead, use mapreduce.jobtracker.address
> ERROR | 04 Jun 2013 22:21:52,204 | 
> org.apache.hcatalog.templeton.CatchallExceptionMapper | Does not contain a 
> valid host:port authority: local
> java.lang.IllegalArgumentException: Does not contain a valid host:port 
> authority: local
>         at org.apache.hadoop.net.NetUtils.createSocketAddr(NetUtils.java:211)
>         at org.apache.hadoop.net.NetUtils.createSocketAddr(NetUtils.java:163)
>         at org.apache.hadoop.net.NetUtils.createSocketAddr(NetUtils.java:152)
>         at 
> org.apache.hcatalog.templeton.TempletonDelegator.getAddress(TempletonDelegator.java:41)
>         at 
> org.apache.hcatalog.templeton.StatusDelegator.run(StatusDelegator.java:47)
>         at org.apache.hcatalog.templeton.Server.showQueueId(Server.java:688)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>         ............
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to