Redian新闻
>
How to load csv file converted from excel file into Cloudera Hive or Impala?
avatar
How to load csv file converted from excel file into Cloudera Hive or Impala?# DataSciences - 数据科学
s*h
1
I found this jar file:
https://github.com/ogrodnek/csv-serde
However, got error saying the jar file doesn't exist when I run
add jar /user/jarTemp/csv-serde-1.1.2-0.11.0-all.jar;
Any idea?
For Cloudera, the jar file(s) has to be in specific path?
Thanks.
avatar
s*h
2

I prefer the jar file approach, as we might have too many files in future to
load manually in HUE GUI.
Try to follow the link below:
http://gethue.com/hadoop-tutorial-create-hive-tables-with-heade
However, I can't see the action part (create table from file, and create
table manually) in metastore manager.
Any idea?
Our IT dept creates the environment and gives me an account.
I believe they just use the OTB cloudera CDH image.
Is that a privilege issue?
Thanks.

【在 s****h 的大作中提到】
: I found this jar file:
: https://github.com/ogrodnek/csv-serde
: However, got error saying the jar file doesn't exist when I run
: add jar /user/jarTemp/csv-serde-1.1.2-0.11.0-all.jar;
: Any idea?
: For Cloudera, the jar file(s) has to be in specific path?
: Thanks.

avatar
s*h
3
ok, solved
IT team gave the machine access, and we just loaded the jar file to the
machine directly, not through HUE.
相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。