I am using hadoop 2.6.0,now i am trying sqoop-1.4.5.bin__hadoop-2.0.4-alpha.tar.gz.I am getting sqoop version usingsqoop version2016-10-19 16:11:21,722 - INFO - Running Sqoop... moreI am using hadoop 2.6.0,now i am trying sqoop-1.4.5.bin__hadoop-2.0.4-alpha.tar.gz.I am getting sqoop version usingsqoop version2016-10-19 16:11:21,722 - INFO - Running Sqoop version: 1.4.5Sqoop 1.4.5but if i am trying any sqoop command it's giving the following exception,sqoop list-tables --connect jdbc:mysql://localhost/test --username root --password hadoopException in thread "main" java.lang.NoSuchMethodError: org.apache.hadoop.conf.Configuration.addDeprecations([Lorg/apache/hadoop/conf/Configuration$DeprecationDelta;)VI copied mysql connector jar to sqoop/lib also.I am not able to find the cause.anybody have any idea please share me how to solve this. less
When I use Apache Flume, I get a millisecond timestamp rahter then a second timestamp. This is my flume conf file:# Name the components on this agenta1.sources = r1a1.sinks =... moreWhen I use Apache Flume, I get a millisecond timestamp rahter then a second timestamp. This is my flume conf file:# Name the components on this agenta1.sources = r1a1.sinks = k1a1.channels = c1# Describe/configure the sourcea1.sources.r1.type = org.apache.flume.source.http.HTTPSourcea1.sources.r1.port = 44444# Describe the sinka1.sinks.k1.type = hdfsa1.sinks.k1.hdfs.path = flume/ads/%y-%m-%d/%Ha1.sinks.k1.hdfs.fileType = DataStream# Use a channel which buffers events in memorya1.channels.c1.type = memorya1.channels.c1.capacity = 10000# Bind the source and sink to the channela1.sources.r1.channels = c1a1.sinks.k1.channel = c1Flume creates folder flume/ads/70-01-17/02. The folder contains files "FlumeData.timestamp" and this timestamp has twelve digits.I get an incorrect folder's name.What can I do?hadoop flume less
I need to delete the topic test in Apache Kafka 0.8.1.1.As expressed in the documentation here, I have executed:bin/kafka-topics.sh --zookeeper localhost:2181 --delete --topic... moreI need to delete the topic test in Apache Kafka 0.8.1.1.As expressed in the documentation here, I have executed:bin/kafka-topics.sh --zookeeper localhost:2181 --delete --topic testHowever, this results in the following message:Command must include exactly one action: --list, --describe, --create or --alterHow can I delete this topic?