Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

404:The URI requested is invalid or the resource requested, such as a user, does not exist

Highlighted

404:The URI requested is invalid or the resource requested, such as a user, does not exist

New Contributor

Error: (Twitter Stream consumer-1[Establishing connection]) [INFO - twitter4j.internal.logging.SLF4JLogger.info(SLF4JLogger.java:83)] 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

The command that I used to run apache flume is:
bin/flume-ng agent -n kalyan-twitter-agent -c conf -f conf/kalyan-twitter-agent.conf -Dflume.root.logger=DEBUG,console -Dtwitter4j.streamBaseURL=https://stream.twitter.com/1.1

 

2 REPLIES 2
Highlighted

Re: 404:The URI requested is invalid or the resource requested, such as a user, does not exist

New Contributor

hai did u get d amswer for d above problem


@Shweta15 wrote:

Error: (Twitter Stream consumer-1[Establishing connection]) [INFO - twitter4j.internal.logging.SLF4JLogger.info(SLF4JLogger.java:83)] 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

The command that I used to run apache flume is:
bin/flume-ng agent -n kalyan-twitter-agent -c conf -f conf/kalyan-twitter-agent.conf -Dflume.root.logger=DEBUG,console -Dtwitter4j.streamBaseURL=https://stream.twitter.com/1.1

 


 

Highlighted

Re: 404:The URI requested is invalid or the resource requested, such as a user, does not exist

Champion

Did you add the below jars 

twitter4j-core-X.XX.jar
twitter4j-stream-X.X.X.jar
twitter4j-media-support-X.X.X.jar

What user are you runining the flume ? 

what is the permission on the hdfs directory ? 

Don't have an account?
Coming from Hortonworks? Activate your account here