Flume Related Errors

1) 401:Authentication credentials (https://dev.twitter.com/pages/auth) were missing or incorrect.
   Ensure that you have set valid consumer key/secret, access token/secret, and the system clock is in sync.
Fix: Check for the 3 mentioned details in your Conf file and system clock and try to relaunch again

2) 17/05/05 12:19:54 ERROR hdfs.HDFSEventSink: process failed
java.lang.VerifyError: class org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos$RenewLeaseRequestProto overrides final method getUnknownFields.
()Lcom/google/protobuf/UnknownFieldSet;

Fix: 1) check for your HDFS sink path in the flume conf file and fixx it accordingly.
    2) check whether the the HDFS is in Safe mode and retry to leave from it.

3)  ERROR node.PollingPropertiesFileConfigurationProvider: Unhandled error
Fix: Download and copy the flume-twitter-dource-1.6.0.jar into lib folder.
2) TwitterAgent.sinks.HDFS.hdfs.useLocalTimeStamp = true

4) java.lang.NoSuchMethodError: twitter4j.conf.Configuration.isStallWarningsEnabled()
Fix: 1) Download and copy the flume-twitter-dource-1.6.0.jar into lib folder.
2) TwitterAgent.sinks.HDFS.hdfs.useLocalTimeStamp = true

5) java.lang.NullPointerException: Expected timestamp in the Flume event headers, but it was null
Fix: TwitterAgent.sinks.HDFS.hdfs.useLocalTimeStamp = true

7) Exception in thread "Twitter4J Async Dispatcher[0]" java.lang.NoSuchMethodError: twitter4j.json.JSONObjectType.determine(Ltwitter4j/internal/org/json/JSONObject;)Ltwitter4j/json/JSONObjectType;
Fix: Deploy latest Twiter-x*.jar and re run it

8)  404:The URI requested is invalid or the resource requested, such as a user, does not exist.
Unknown URL. See Twitter Streaming API documentation at http://dev.twitter.com/pages/streaming_api
Fix: Deploy latest Twiter-x*.jar and re run it

Comments

Popular posts from this blog

Hive Related Errors and fixes

HBase Interview Questions