Member since
07-24-2015
3
Posts
0
Kudos Received
0
Solutions
07-29-2015
04:58 AM
Hi, at Exercise 4, there is a command: 4. Creating your collection solrctl --zk {{zookeeper_connection_string}}/solr collection --create live_logs -s {{ hostname }} I am puzzled by {{hostname}} here. According the help of solrctl, -s should be followed by <numShards>. Do I miss anything here? Thanks!
... View more
Labels:
- Labels:
-
Apache Solr
07-24-2015
06:11 AM
Hi, I got the following error when running: sqoop import-all-tables -m 12 --connect jdbc:mysql://quickstart.cloudera:3306/retail_db --username=retail_dba --password=cloudera --compression-codec=snappy --as-parquetfile --warehouse-dir=/user/hive/warehouse --hive-importhist INFO hive.metastore: Connected to metastore. 15/07/24 14:49:16 ERROR sqoop.Sqoop: Got exception running Sqoop: org.kitesdk.data.DatasetExistsException: Metadata already exists for dataset: default.categories org.kitesdk.data.DatasetExistsException: Metadata already exists for dataset: default.categories at org.kitesdk.data.spi.hive.HiveManagedMetadataProvider.create(HiveManagedMetadataProvider.java:51) at org.kitesdk.data.spi.hive.HiveManagedDatasetRepository.create(HiveManagedDatasetRepository.java:77) I guess the problem might be triggered by my previous running of the following command: sqoop import-all-tables -m 12 --connect jdbc:mysql://quickstart.cloudera:3306/retail_db --username=retail_dba --password=cloudera --compression-codec=snappy --as-avrodatafile --warehouse-dir=/user/hive/warehouse I have deleted /user/hive/warehouse, but it didn't help. Any hint how to solve this? Thanks! Hadoop321
... View more
Labels:
- Labels:
-
Apache Hive
-
Apache Sqoop