In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-26 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/03 Report--
Some problems encountered in flume Packaging
1.ipc compatibility issues. 2.3.0 hdfs is used online, but the default is 1.2.1 when packaging.
08 Apr 2015 19V 38 SinkRunner-PollingRunner-DefaultSinkProcessor 25122 WARN [SinkRunner-PollingRunner-DefaultSinkProcessor] (org.apache.flume.sink.hdfs.HDFSEventSink.process:455)-HDFS IO errororg.apache.hadoop.ipc.RemoteException: Server IPC version 9 cannot communicate with client version 4 at org.apache.hadoop.ipc.Client.call (Client.java:1113) at org.apache.hadoop.ipc.RPC$Invoker.invoke (RPC.java:229)
Just copy the hadoop-core package or change the pom.xml file
1.2.1 / / hadoop-core-1.2.1.jar changed to hadoop-core-2.3.0-mr1-cdh6.1.0.jar 0.92.1 hadoop-core 0.7.0
Or specify when packing:
Mvn clean install-Phadoop-2
two。 When test is not skipped
Org.apache.flume.auth.TestFlumeAuthenticator: org/apache/commons/io/Charsets (no class error)
In the pom.xml file under the root directory, change to:
The package of commons-io commons-io 2.4 / / 2.1 does not have the class Charsets
If you download the jar package manually, you can import it using the following command:
Mvn install:install-file-DgroupId=commons-io-DartifactId=commons-io-Dversion=2.0.1-Dpackaging=jar-Dfile=commons-io-2.4.jar
3. There is a problem with the program language, the compilation failed because the Chinese environment was used in the system
1)
@ Test public void shouldUseUtcAsBasisForDateFormat () {assertEquals ("Coordinated Universal Time", factory.fastDateFormat.getTimeZone () .getDisplayName ()); / / request English, return Chinese}.
2)
Running org.apache.flume.source.twitter.TestTwitterSourceTests run: 2, Failures: 0, Errors: 1, Skipped: 1, Time elapsed: 0.247 sec
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.