Hi. Thanks so much for your reply.
I tried again with following mvm but still get warning and error. Does it mean I am using wrong repository? or something in my pom.xml file incorrect? Please help! Regards Arthur mvn clean install -Phadoop-2 -Dhadoop.profile=hbase-98 -Dhbase.version=0.98.3 [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Flume NG HBase Sink 1.5.0 [INFO] ------------------------------------------------------------------------ Downloading: http://people.apache.org/~garyh/mvn/org/apache/hbase/hbase/0.98.3/hbase-0.98.3.pom Downloading: http://repo1.maven.org/maven2/org/apache/hbase/hbase/0.98.3/hbase-0.98.3.pom Downloading: http://repository.jboss.org/nexus/content/groups/public/org/apache/hbase/hbase/0.98.3/hbase-0.98.3.pom [WARNING] The POM for org.apache.hbase:hbase:jar:0.98.3 is missing, no dependency information available [WARNING] The POM for org.apache.hbase:hbase:jar:tests:0.98.3 is missing, no dependency information available Downloading: http://people.apache.org/~garyh/mvn/org/apache/hbase/hbase/0.98.3/hbase-0.98.3.jar Downloading: http://people.apache.org/~garyh/mvn/org/apache/hbase/hbase/0.98.3/hbase-0.98.3-tests.jar Downloading: http://repo1.maven.org/maven2/org/apache/hbase/hbase/0.98.3/hbase-0.98.3.jar Downloading: http://repo1.maven.org/maven2/org/apache/hbase/hbase/0.98.3/hbase-0.98.3-tests.jar Downloading: http://repository.jboss.org/nexus/content/groups/public/org/apache/hbase/hbase/0.98.3/hbase-0.98.3.jar Downloading: http://repository.jboss.org/nexus/content/groups/public/org/apache/hbase/hbase/0.98.3/hbase-0.98.3-tests.jar [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] Apache Flume ...................................... SUCCESS [0.765s] [INFO] Flume NG SDK ...................................... SUCCESS [1:12.380s] [INFO] Flume NG Configuration ............................ SUCCESS [1.183s] [INFO] Flume NG Core ..................................... SUCCESS [4:50.464s] [INFO] Flume NG Sinks .................................... SUCCESS [0.201s] [INFO] Flume NG HDFS Sink ................................ SUCCESS [4:28.655s] [INFO] Flume NG IRC Sink ................................. SUCCESS [1.099s] [INFO] Flume NG Channels ................................. SUCCESS [0.087s] [INFO] Flume NG JDBC channel ............................. SUCCESS [2:02.433s] [INFO] Flume NG file-based channel ....................... SUCCESS [10:26.224s] [INFO] Flume NG Spillable Memory channel ................. SUCCESS [4:43.048s] [INFO] Flume NG Node ..................................... SUCCESS [21.761s] [INFO] Flume NG Embedded Agent ........................... SUCCESS [17.537s] [INFO] Flume NG HBase Sink ............................... FAILURE [3.636s] [INFO] Flume NG ElasticSearch Sink ....................... SKIPPED [INFO] Flume NG Morphline Solr Sink ...................... SKIPPED [INFO] Flume NG Kite Dataset Sink ........................ SKIPPED [INFO] Flume Sources ..................................... SKIPPED [INFO] Flume Scribe Source ............................... SKIPPED [INFO] Flume JMS Source .................................. SKIPPED [INFO] Flume Twitter Source .............................. SKIPPED [INFO] Flume legacy Sources .............................. SKIPPED [INFO] Flume legacy Avro source .......................... SKIPPED [INFO] Flume legacy Thrift Source ........................ SKIPPED [INFO] Flume NG Clients .................................. SKIPPED [INFO] Flume NG Log4j Appender ........................... SKIPPED [INFO] Flume NG Tools .................................... SKIPPED [INFO] Flume NG distribution ............................. SKIPPED [INFO] Flume NG Integration Tests ........................ SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 28:29.899s [INFO] Finished at: Sun Jul 27 07:24:04 HKT 2014 [INFO] Final Memory: 53M/616M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal on project flume-ng-hbase-sink: Could not resolve dependencies for project org.apache.flume.flume-ng-sinks:flume-ng-hbase-sink:jar:1.5.0: The following artifacts could not be resolved: org.apache.hbase:hbase:jar:0.98.3, org.apache.hbase:hbase:jar:tests:0.98.3: Could not find artifact org.apache.hbase:hbase:jar:0.98.3 in nexus (http://people.apache.org/~garyh/mvn/) -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <goals> -rf :flume-ng-hbase-sink Log with debug information as follows: [ERROR] Failed to execute goal on project flume-ng-hbase-sink: Could not resolve dependencies for project org.apache.flume.flume-ng-sinks:flume-ng-hbase-sink:jar:1.5.0: The following artifacts could not be resolved: org.apache.hbase:hbase:jar:0.98.3, org.apache.hbase:hbase:jar:tests:0.98.3: Failure to find org.apache.hbase:hbase:jar:0.98.3 in http://people.apache.org/~garyh/mvn/ was cached in the local repository, resolution will not be reattempted until the update interval of nexus has elapsed or updates are forced -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal on project flume-ng-hbase-sink: Could not resolve dependencies for project org.apache.flume.flume-ng-sinks:flume-ng-hbase-sink:jar:1.5.0: The following artifacts could not be resolved: org.apache.hbase:hbase:jar:0.98.3, org.apache.hbase:hbase:jar:tests:0.98.3: Failure to find org.apache.hbase:hbase:jar:0.98.3 in http://people.apache.org/~garyh/mvn/ was cached in the local repository, resolution will not be reattempted until the update interval of nexus has elapsed or updates are forced at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:220) at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies(LifecycleDependencyResolver.java:127) at org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreResolved(MojoExecutor.java:257) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:200) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59) at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:317) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:152) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:555) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214) at org.apache.maven.cli.MavenCli.main(MavenCli.java:158) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356) Caused by: org.apache.maven.project.DependencyResolutionException: Could not resolve dependencies for project org.apache.flume.flume-ng-sinks:flume-ng-hbase-sink:jar:1.5.0: The following artifacts could not be resolved: org.apache.hbase:hbase:jar:0.98.3, org.apache.hbase:hbase:jar:tests:0.98.3: Failure to find org.apache.hbase:hbase:jar:0.98.3 in http://people.apache.org/~garyh/mvn/ was cached in the local repository, resolution will not be reattempted until the update interval of nexus has elapsed or updates are forced at org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:198) at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:195) ... 22 more Caused by: org.eclipse.aether.resolution.DependencyResolutionException: The following artifacts could not be resolved: org.apache.hbase:hbase:jar:0.98.3, org.apache.hbase:hbase:jar:tests:0.98.3: Failure to find org.apache.hbase:hbase:jar:0.98.3 in http://people.apache.org/~garyh/mvn/ was cached in the local repository, resolution will not be reattempted until the update interval of nexus has elapsed or updates are forced at org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:384) at org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:192) ... 23 more Caused by: org.eclipse.aether.resolution.ArtifactResolutionException: The following artifacts could not be resolved: org.apache.hbase:hbase:jar:0.98.3, org.apache.hbase:hbase:jar:tests:0.98.3: Failure to find org.apache.hbase:hbase:jar:0.98.3 in http://people.apache.org/~garyh/mvn/ was cached in the local repository, resolution will not be reattempted until the update interval of nexus has elapsed or updates are forced at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:459) at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:262) at org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:367) ... 24 more Caused by: org.eclipse.aether.transfer.ArtifactNotFoundException: Failure to find org.apache.hbase:hbase:jar:0.98.3 in http://people.apache.org/~garyh/mvn/ was cached in the local repository, resolution will not be reattempted until the update interval of nexus has elapsed or updates are forced at org.eclipse.aether.internal.impl.DefaultUpdateCheckManager.newException(DefaultUpdateCheckManager.java:232) at org.eclipse.aether.internal.impl.DefaultUpdateCheckManager.checkArtifact(DefaultUpdateCheckManager.java:206) at org.eclipse.aether.internal.impl.DefaultArtifactResolver.gatherDownloads(DefaultArtifactResolver.java:599) at org.eclipse.aether.internal.impl.DefaultArtifactResolver.performDownloads(DefaultArtifactResolver.java:518) at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:436) ... 26 more [ERROR] [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException On 27 Jul, 2014, at 5:41 am, Hari Shreedharan <hshreedha...@cloudera.com> wrote: > Run mvn clean install -Dhadoop.profile=hbase-98 -Dhbase.version=<specific > version of hbase 98>. > > > > On Saturday, July 26, 2014, a...@hsk.hk <a...@hsk.hk> wrote: > Hi, > > I have tried several times about compiling Flume 1.5.0 for HBase 0.98.3, with > some progress but still failed. > > Can someone advise what the proper settings in pom.xml is? or which > repository contains HBase 0.98.3 jar files? or any ideas to fix this? > > Many thanks!! > Arthur > > > > [INFO] > ------------------------------------------------------------------------ > [INFO] Building Flume NG HBase Sink 1.5.0 > [INFO] > ------------------------------------------------------------------------ > [WARNING] The POM for org.apache.hbase:hbase:jar:0.98.3 is missing, no > dependency information available > [INFO] > ------------------------------------------------------------------------ > [INFO] Reactor Summary: > [INFO] > [INFO] Apache Flume ...................................... SUCCESS [0.873s] > [INFO] Flume NG SDK ...................................... SUCCESS [1.681s] > [INFO] Flume NG Configuration ............................ SUCCESS [0.249s] > [INFO] Flume NG Core ..................................... SUCCESS [1.771s] > [INFO] Flume NG Sinks .................................... SUCCESS [0.048s] > [INFO] Flume NG HDFS Sink ................................ SUCCESS [0.914s] > [INFO] Flume NG IRC Sink ................................. SUCCESS [0.144s] > [INFO] Flume NG Channels ................................. SUCCESS [0.067s] > [INFO] Flume NG JDBC channel ............................. SUCCESS [0.210s] > [INFO] Flume NG file-based channel ....................... SUCCESS [0.246s] > [INFO] Flume NG Spillable Memory channel ................. SUCCESS [0.127s] > [INFO] Flume NG Node ..................................... SUCCESS [0.159s] > [INFO] Flume NG Embedded Agent ........................... SUCCESS [0.414s] > [INFO] Flume NG HBase Sink ............................... FAILURE [0.064s] > [INFO] Flume NG ElasticSearch Sink ....................... SKIPPED > [INFO] Flume NG Morphline Solr Sink ...................... SKIPPED > [INFO] Flume NG Kite Dataset Sink ........................ SKIPPED > [INFO] Flume Sources ..................................... SKIPPED > [INFO] Flume Scribe Source ............................... SKIPPED > [INFO] Flume JMS Source .................................. SKIPPED > [INFO] Flume Twitter Source .............................. SKIPPED > [INFO] Flume legacy Sources .............................. SKIPPED > [INFO] Flume legacy Avro source .......................... SKIPPED > [INFO] Flume legacy Thrift Source ........................ SKIPPED > [INFO] Flume NG Clients .................................. SKIPPED > [INFO] Flume NG Log4j Appender ........................... SKIPPED > [INFO] Flume NG Tools .................................... SKIPPED > [INFO] Flume NG distribution ............................. SKIPPED > [INFO] Flume NG Integration Tests ........................ SKIPPED > [INFO] > ------------------------------------------------------------------------ > [INFO] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 7.385s > [INFO] Finished at: Sat Jul 26 22:52:42 HKT 2014 > [INFO] Final Memory: 41M/622M > [INFO] > ------------------------------------------------------------------------ > [ERROR] Failed to execute goal on project flume-ng-hbase-sink: Could not > resolve dependencies for project > org.apache.flume.flume-ng-sinks:flume-ng-hbase-sink:jar:1.5.0: Failure to > find org.apache.hbase:hbase:jar:0.98.3 in > http://people.apache.org/~garyh/mvn/ was cached in the local repository, > resolution will not be reattempted until the update interval of nexus has > elapsed or updates are forced -> [Help 1] > [ERROR] > [ERROR] To see the full stack trace of the errors, re-run Maven with the -e > switch. > [ERROR] Re-run Maven using the -X switch to enable full debug logging. > [ERROR] > [ERROR] For more information about the errors and possible solutions, please > read the following articles: > [ERROR] [Help 1] > http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException > [ERROR] > [ERROR] After correcting the problems, you can resume the build with the > command > [ERROR] mvn <goals> -rf :flume-ng-hbase-sink > > > > On 26 Jul, 2014, at 7:28 pm, a...@hsk.hk wrote: > >> Hi, >> >> I am trying to compile and run unit test (flume 1.5.0) for Hadoop 2.4.0 and >> HBase 0.98.3. >> >> I got "cannot find symbol: class MiniDFSCluster”, is it something wrong in >> pom.xml? please help!! >> >> Regards >> Arthur >> >> >> >> >> >> >> command: mvn clean test >> >> === log === >> [ERROR] COMPILATION ERROR : >> [INFO] ------------------------------------------------------------- >> [ERROR] >> /home/hduser/apache-flume-1.5.0-src/flume-ng-sinks/flume-hdfs-sink/src/test/java/org/apache/flume/sink/hdfs/TestHDFSEventSinkOnMiniCluster.java:[37,29] >> cannot find symbol >> symbol : class MiniDFSCluster >> location: package org.apache.hadoop.hdfs >> [ERROR] >> /home/hduser/apache-flume-1.5.0-src/flume-ng-sinks/flume-hdfs-sink/src/test/java/org/apache/flume/sink/hdfs/TestHDFSEventSinkOnMiniCluster.java:[60,17] >> cannot find symbol >> symbol : class MiniDFSCluster >> location: class org.apache.flume.sink.hdfs.TestHDFSEventSinkOnMiniCluster >> [ERROR] >> /home/hduser/apache-flume-1.5.0-src/flume-ng-sinks/flume-hdfs-sink/src/test/java/org/apache/flume/sink/hdfs/TestHDFSEventSinkOnMiniCluster.java:[75,39] >> cannot find symbol >> symbol : class MiniDFSCluster >> location: class org.apache.flume.sink.hdfs.TestHDFSEventSinkOnMiniCluster >> [ERROR] >> /home/hduser/apache-flume-1.5.0-src/flume-ng-sinks/flume-hdfs-sink/src/test/java/org/apache/flume/sink/hdfs/TestHDFSEventSinkOnMiniCluster.java:[85,18] >> cannot find symbol >> symbol : class MiniDFSCluster >> location: class org.apache.flume.sink.hdfs.TestHDFSEventSinkOnMiniCluster >> [ERROR] >> /home/hduser/apache-flume-1.5.0-src/flume-ng-sinks/flume-hdfs-sink/src/test/java/org/apache/flume/sink/hdfs/TestHDFSEventSinkOnMiniCluster.java:[164,18] >> cannot find symbol >> symbol : class MiniDFSCluster >> location: class org.apache.flume.sink.hdfs.TestHDFSEventSinkOnMiniCluster >> [ERROR] >> /home/hduser/apache-flume-1.5.0-src/flume-ng-sinks/flume-hdfs-sink/src/test/java/org/apache/flume/sink/hdfs/TestHDFSEventSinkOnMiniCluster.java:[264,18] >> cannot find symbol >> symbol : class MiniDFSCluster >> location: class org.apache.flume.sink.hdfs.TestHDFSEventSinkOnMiniCluster >> [ERROR] >> /home/hduser/apache-flume-1.5.0-src/flume-ng-sinks/flume-hdfs-sink/src/test/java/org/apache/flume/sink/hdfs/TestHDFSEventSinkOnMiniCluster.java:[377,18] >> cannot find symbol >> symbol : class MiniDFSCluster >> location: class org.apache.flume.sink.hdfs.TestHDFSEventSinkOnMiniCluster >> [INFO] 7 errors >> [INFO] ------------------------------------------------------------- >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] Reactor Summary: >> [INFO] >> [INFO] Apache Flume ...................................... SUCCESS [0.649s] >> [INFO] Flume NG SDK ...................................... SUCCESS >> [1:12.668s] >> [INFO] Flume NG Configuration ............................ SUCCESS [1.092s] >> [INFO] Flume NG Core ..................................... SUCCESS >> [6:52.046s] >> [INFO] Flume NG Sinks .................................... SUCCESS [0.095s] >> [INFO] Flume NG HDFS Sink ................................ FAILURE [1.990s] >> [INFO] Flume NG IRC Sink ................................. SKIPPED >> [INFO] Flume NG Channels ................................. SKIPPED >> [INFO] Flume NG JDBC channel ............................. SKIPPED >> [INFO] Flume NG file-based channel ....................... SKIPPED >> [INFO] Flume NG Spillable Memory channel ................. SKIPPED >> [INFO] Flume NG Node ..................................... SKIPPED >> [INFO] Flume NG Embedded Agent ........................... SKIPPED >> [INFO] Flume NG HBase Sink ............................... SKIPPED >> [INFO] Flume NG ElasticSearch Sink ....................... SKIPPED >> [INFO] Flume NG Morphline Solr Sink ...................... SKIPPED >> [INFO] Flume Sources ..................................... SKIPPED >> [INFO] Flume Scribe Source ............................... SKIPPED >> [INFO] Flume JMS Source .................................. SKIPPED >> [INFO] Flume Twitter Source .............................. SKIPPED >> [INFO] Flume legacy Sources .............................. SKIPPED >> [INFO] Flume legacy Avro source .......................... SKIPPED >> [INFO] Flume legacy Thrift Source ........................ SKIPPED >> [INFO] Flume NG Clients .................................. SKIPPED >> [INFO] Flume NG Log4j Appender ........................... SKIPPED >> [INFO] Flume NG Tools .................................... SKIPPED >> [INFO] Flume NG distribution ............................. SKIPPED >> [INFO] Flume NG Integration Tests ........................ SKIPPED >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] BUILD FAILURE >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] Total time: 8:09.120s >> [INFO] Finished at: Sat Jul 26 19:18:55 HKT 2014 >> [INFO] Final Memory: 71M/455M >> [INFO] >> ------------------------------------------------------------------------ >> [ERROR] Failed to execute goal >> org.apache.maven.plugins:maven-compiler-plugin:2.3.2:testCompile >> (default-testCompile) on project flume-hdfs-sink: Compilation failure: >> Compilation failure: >> [ERROR] >> /home/hduser/apache-flume-1.5.0-src/flume-ng-sinks/flume-hdfs-sink/src/test/java/org/apache/flume/sink/hdfs/TestHDFSEventSinkOnMiniCluster.java:[37,29] >> cannot find symbol >> [ERROR] symbol : class MiniDFSCluster >> [ERROR] location: package org.apache.hadoop.hdfs >> [ERROR] >> /home/hduser/apache-flume-1.5.0-src/flume-ng-sinks/flume-hdfs-sink/src/test/java/org/apache/flume/sink/hdfs/TestHDFSEventSinkOnMiniCluster.java:[60,17] >> cannot find symbol >> [ERROR] symbol : class MiniDFSCluster >> [ERROR] location: class >> org.apache.flume.sink.hdfs.TestHDFSEventSinkOnMiniCluster >> [ERROR] >> /home/hduser/apache-flume-1.5.0-src/flume-ng-sinks/flume-hdfs-sink/src/test/java/org/apache/flume/sink/hdfs/TestHDFSEventSinkOnMiniCluster.java:[75,39] >> cannot find symbol >> [ERROR] symbol : class MiniDFSCluster >> [ERROR] location: class >> org.apache.flume.sink.hdfs.TestHDFSEventSinkOnMiniCluster >> [ERROR] >> /home/hduser/apache-flume-1.5.0-src/flume-ng-sinks/flume-hdfs-sink/src/test/java/org/apache/flume/sink/hdfs/TestHDFSEventSinkOnMiniCluster.java:[85,18] >> cannot find symbol >> [ERROR] symbol : class MiniDFSCluster >> [ERROR] location: class >> org.apache.flume.sink.hdfs.TestHDFSEventSinkOnMiniCluster >> [ERROR] >> /home/hduser/apache-flume-1.5.0-src/flume-ng-sinks/flume-hdfs-sink/src/test/java/org/apache/flume/sink/hdfs/TestHDFSEventSinkOnMiniCluster.java:[164,18] >> cannot find symbol >> [ERROR] symbol : class MiniDFSCluster >> [ERROR] location: class >> org.apache.flume.sink.hdfs.TestHDFSEventSinkOnMiniCluster >> [ERROR] >> /home/hduser/apache-flume-1.5.0-src/flume-ng-sinks/flume-hdfs-sink/src/test/java/org/apache/flume/sink/hdfs/TestHDFSEventSinkOnMiniCluster.java:[264,18] >> cannot find symbol >> [ERROR] symbol : class MiniDFSCluster >> [ERROR] location: class >> org.apache.flume.sink.hdfs.TestHDFSEventSinkOnMiniCluster >> [ERROR] >> /home/hduser/apache-flume-1.5.0-src/flume-ng-sinks/flume-hdfs-sink/src/test/java/org/apache/flume/sink/hdfs/TestHDFSEventSinkOnMiniCluster.java:[377,18] >> cannot find symbol >> [ERROR] symbol : class MiniDFSCluster >> [ERROR] location: class >> org.apache.flume.sink.hdfs.TestHDFSEventSinkOnMiniCluster >> [ERROR] -> [Help 1] >> [ERROR] >> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e >> switch. >> [ERROR] Re-run Maven using the -X switch to enable full debug logging. >> [ERROR] >> [ERROR] For more information about the errors and possible solutions, please >> read the following articles: >> [ERROR] [Help 1] >> http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException >> [ERROR] >> [ERROR] After correcting the problems, you can resume the build with the >> command >> [ERROR] mvn <goals> -rf :flume-hdfs-sink >> >> >