Running `sqoop-export` occasionally terminates Unity session

戏子无情 提交于 2020-01-06 15:51:16

问题


Bizarre as it sounds, it really happens:

  • Ubuntu 16.04.1
  • sqoop 1.4.6

when I run the command below on my machine which also is a single node hadoop cluster, it (occasionally) kills all hadoop process (!) and terminates the unity session.

sqoop-export --connect jdbc:postgresql://127.0.0.1:5432/db_test --table \
             sqoop_quote_6faba4614c --username user --password pass --export-dir \
             hdfs://localhost:9000/inputs/id-name.csv --batch -m 1

When this happens, any further attempts consistently terminates the session and you have to just restart the whole machine.

I looked into kernel log and the only lines are:

Aug 19 13:49:02 my-vm gnome-session-binary[2165]: Entering running state
Aug 19 14:34:40 my-vm gnome-session-binary[10961]: Entering running state
Aug 19 14:36:51 my-vm gnome-session-binary[14210]: Entering running state

Anyone has any idea what could be the reason, or where to look to get more debug info?

来源:https://stackoverflow.com/questions/39031862/running-sqoop-export-occasionally-terminates-unity-session

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!