sqoop hive import “has not been cleaned” exception
up vote
0
down vote
favorite
When I try to run the following sqoop command
sqoop import
--connect jdbc:mysql://hostname.com:3306/retail_db
--username ****
--password ****
--table customers
--hive-import
--hive-database hariharan_hive
--hive-table hivecustomers
--hive-overwrite
I’m getting an exception as
" Failed with exception Destination directory
hdfs://nn01.itversity.com:8020/apps/hive/warehouse/hariharan_hive.db/hivecustomers
has not be cleaned up. "
but the path given in the exception does not exist..
can anybody help me on this?..
hive sqoop
add a comment |
up vote
0
down vote
favorite
When I try to run the following sqoop command
sqoop import
--connect jdbc:mysql://hostname.com:3306/retail_db
--username ****
--password ****
--table customers
--hive-import
--hive-database hariharan_hive
--hive-table hivecustomers
--hive-overwrite
I’m getting an exception as
" Failed with exception Destination directory
hdfs://nn01.itversity.com:8020/apps/hive/warehouse/hariharan_hive.db/hivecustomers
has not be cleaned up. "
but the path given in the exception does not exist..
can anybody help me on this?..
hive sqoop
1
if passworrd and hostname are real please change it to take one
– Gaurang Shah
Nov 9 at 13:54
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
When I try to run the following sqoop command
sqoop import
--connect jdbc:mysql://hostname.com:3306/retail_db
--username ****
--password ****
--table customers
--hive-import
--hive-database hariharan_hive
--hive-table hivecustomers
--hive-overwrite
I’m getting an exception as
" Failed with exception Destination directory
hdfs://nn01.itversity.com:8020/apps/hive/warehouse/hariharan_hive.db/hivecustomers
has not be cleaned up. "
but the path given in the exception does not exist..
can anybody help me on this?..
hive sqoop
When I try to run the following sqoop command
sqoop import
--connect jdbc:mysql://hostname.com:3306/retail_db
--username ****
--password ****
--table customers
--hive-import
--hive-database hariharan_hive
--hive-table hivecustomers
--hive-overwrite
I’m getting an exception as
" Failed with exception Destination directory
hdfs://nn01.itversity.com:8020/apps/hive/warehouse/hariharan_hive.db/hivecustomers
has not be cleaned up. "
but the path given in the exception does not exist..
can anybody help me on this?..
hive sqoop
hive sqoop
edited Nov 11 at 7:35
asked Nov 9 at 6:45
Hariharan Palanichamy
34
34
1
if passworrd and hostname are real please change it to take one
– Gaurang Shah
Nov 9 at 13:54
add a comment |
1
if passworrd and hostname are real please change it to take one
– Gaurang Shah
Nov 9 at 13:54
1
1
if passworrd and hostname are real please change it to take one
– Gaurang Shah
Nov 9 at 13:54
if passworrd and hostname are real please change it to take one
– Gaurang Shah
Nov 9 at 13:54
add a comment |
1 Answer
1
active
oldest
votes
up vote
0
down vote
accepted
How about clearing the Hive metastore by the following command:
(hive shell)> msck repair table hariharan_hive.hivecustomers;
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
accepted
How about clearing the Hive metastore by the following command:
(hive shell)> msck repair table hariharan_hive.hivecustomers;
add a comment |
up vote
0
down vote
accepted
How about clearing the Hive metastore by the following command:
(hive shell)> msck repair table hariharan_hive.hivecustomers;
add a comment |
up vote
0
down vote
accepted
up vote
0
down vote
accepted
How about clearing the Hive metastore by the following command:
(hive shell)> msck repair table hariharan_hive.hivecustomers;
How about clearing the Hive metastore by the following command:
(hive shell)> msck repair table hariharan_hive.hivecustomers;
answered Nov 11 at 7:45
mangusta
1,51421326
1,51421326
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53221009%2fsqoop-hive-import-has-not-been-cleaned-exception%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
if passworrd and hostname are real please change it to take one
– Gaurang Shah
Nov 9 at 13:54