Currently, pig hard codes "http://"; in trunk branch of -

https://github.com/apache/pig/blob/trunk/src/org/apache/pig/backend/hadoop/executionengine/mapReduceLayer/MapReduceLauncher.java


The following line is displayed on the console output -


2014-01-15 16:50:20,635 [main] INFO
org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.MapReduceLauncher
- More information at:
http://10.10.30.84:50030/jobdetails.jsp?jobid=job_201311141557_0154

With adoption of wire level security, this url will probably not work
and will probably be something like

https://10.10.30.84:50030/jobdetails.jsp?jobid=job_201311141557_0154
<http://10.10.30.84:50030/jobdetails.jsp?jobid=job_201311141557_0154>



So the string "http://"; should not be hardcoded and instead should be
dynamically obtained at runtime depending on whether hadoop security
is ON or off.

Thanks,
Suhas.

Reply via email to