I’m not able to run Oozie job from command line, below is the job launching command:
oozie job -oozie http://ip-172-31-20-247.ec2.internal:11000/oozie -config examples/apps/map-reduce/job.properties -run
Below is the error facing after long time without any response:
Error: E0501 : E0501: Could not perform authorization operation, Call From ip-172-31-20-247.ec2.internal/172.31.20.247 to ip-172-31-53-48.ec2.internal:8020 failed on socket timeout exception: org.apache.hadoop.net.ConnectTimeoutException: 20000 millis timeout while waiting for channel to be ready for connect. ch : java.nio.channels.SocketChannel[connection-pending remote=ip-172-31-53-48.ec2.internal/172.31.53.48:8020]; For more details see: http://wiki.apache.org/hadoop/SocketTimeout
It seems that Oozie server hostname has been changed to “http://ip-172-31-20-247.ec2.internal:11000”
it’s better to post it in some blog posts with updated hostnames details, for better reference.
Since we are experienced developers, we can easily debug it, but it’s tough for newbies.