Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

hive error- Query returned non-zero code: 1, cause: Usage: list [FILE|JAR|ARCHIVE] [

hive error- Query returned non-zero code: 1, cause: Usage: list [FILE|JAR|ARCHIVE] [

New Contributor

hive shell return error ( Query returned non-zero code: 1, cause: Usage: list [FILE|JAR|ARCHIVE] [<value>) when tried to execute query on hive.

65407-hive.jpg

1 REPLY 1

Re: hive error- Query returned non-zero code: 1, cause: Usage: list [FILE|JAR|ARCHIVE] [

@SUDHIR KUMAR

To list tables, you need to use 'show tables;'.

Also, FYI, link is for Hive QL.