Sqoop 면접 질문과 답변
Ques 6. Explain the export command in Sqoop.
The export command in Sqoop is used to export data from Hadoop to a relational database.
Example:
sqoop export --connect jdbc:mysql://localhost:3306/db --table mytable --export-dir /user/hadoop/mytable
도움이 되었나요?
Add Comment
View Comments
Ques 7. What is the purpose of the --update-key option in Sqoop export?
The --update-key option specifies the column(s) used to identify rows for updates when performing an export.
도움이 되었나요?
Add Comment
View Comments
Ques 8. Explain the purpose of the --direct option in Sqoop.
The --direct option enables direct export or import between Hadoop and the database without using HDFS as an intermediary.
도움이 되었나요?
Add Comment
View Comments
Ques 9. What is the metastore in Sqoop?
The metastore in Sqoop is a central repository that stores metadata related to Sqoop jobs, such as saved jobs, connection information, and job history.
도움이 되었나요?
Add Comment
View Comments
Ques 10. Explain the purpose of the --as-textfile option in Sqoop.
The --as-textfile option in Sqoop specifies that the data should be stored in text format in HDFS during import.
도움이 되었나요?
Add Comment
View Comments
Most helpful rated by users: