Java.net. connectexception: Call to master/192.168.137.101: 9001 failed on connection exception: java.net. connectexception: Connection refused
At org. Apache. hadoop. IPC. Client. wrapexception (client. Java: 1099)
At org. Apache. hadoop. IPC. Client. Call (client. Java: 1075)
At org. Apache. hadoop. IPC. RPC $ invoker. Invoke (rpc. Java: 225)
At org. Apache. hadoop. mapred. $ proxy10.getprotocolversion (unknown source)
At org. Apache. hadoop. IPC. rpc. getproxy (rpc. Java: 396)
At org. Apache. hadoop. IPC. rpc. getproxy (rpc. Java: 379)
At org. Apache. hadoop. mapred. jobclient. createrpcproxy (jobclient. Java: 480)
At org. Apache. hadoop. mapred. jobclient. INIT (jobclient. Java: 474)
At org. Apache. hadoop. mapred. jobclient. <init> (jobclient. Java: 457)
At org.apache.hadoop.hive.ql.exec.execdriver.exe cute (execdriver. Java: 418)
At org.apache.hadoop.hive.ql.exec.mapredtask.exe cute (mapredtask. Java: 137)
At org.apache.hadoop.hive.ql.exec.task.exe cutetask (task. Java: 134)
At org.apache.hadoop.hive.ql.exe C. taskrunner. runsequential (taskrunner. Java: 57)
At org. Apache. hadoop. hive. QL. Driver. launchtask (driver. Java: 1326)
At org.apache.hadoop.hive.ql.driver.exe cute (driver. Java: 1118)
At org. Apache. hadoop. hive. QL. Driver. Run (driver. Java: 951)
At org. Apache. hadoop. hive. cli. clidriver. processlocalcmd (clidriver. Java: 258)
At org. Apache. hadoop. hive. cli. clidriver. processcmd (clidriver. Java: 215)
At org. Apache. hadoop. hive. cli. clidriver. processline (clidriver. Java: 406)
At org. Apache. hadoop. hive. cli. clidriver. Run (client driver. Java: 689)
At org. Apache. hadoop. hive. cli. clidriver. Main (client driver. Java: 557)
At sun. Reflect. nativemethodaccessorimpl. invoke0 (native method)
At sun. Reflect. nativemethodaccessorimpl. Invoke (nativemethodaccessorimpl. Java: 57)
At sun. Reflect. delegatingmethodaccessorimpl. Invoke (delegatingmethodaccessorimpl. Java: 43)
At java. Lang. Reflect. method. Invoke (method. Java: 601)
At org. Apache. hadoop. util. runjar. Main (runjar. Java: 156)
Caused by: java.net. connectexception: Connection refused
At sun. NiO. Ch. socketchannelimpl. checkconnect (native method)
At sun. NiO. Ch. socketchannelimpl. finishconnect (socketchannelimpl. Java: 692)
At org.apache.hadoop.net. socketiowithtimeout. Connect (socketiowithtimeout. Java: 206)
At org.apache.hadoop.net. netutils. Connect (netutils. Java: 489)
At org. Apache. hadoop. IPC. Client $ connection. setupconnection (client. Java: 434)
At org. Apache. hadoop. IPC. Client $ connection. setupiostreams (client. Java: 560)
At org. Apache. hadoop. IPC. Client $ connection. Access $2000 (client. Java: 184)
At org. Apache. hadoop. IPC. Client. getconnection (client. Java: 1206)
At org. Apache. hadoop. IPC. Client. Call (client. Java: 1050)
... 24 more
Job submission failed with exception 'java. net. connectexception (call to master/192.168.137.101: 9001 failed on connection exception: java.net. connectexception: Connection refused )'
Failed: execution error, return code 1 from org.apache.hadoop.hive.ql.exe C. mapredtask
Solution: Execute the command./hadoop namenode-format