真分享不出来,我给你看图示:hadoop下的
localhost:hadoop rocky$ ls
error
hadoop-annotations
hadoop-archives
hadoop-auth
hadoop-aws
hadoop-build-tools
hadoop-client
hadoop-common
hadoop-core
hadoop-distcp
hadoop-hdfs
hadoop-hdfs-client
hadoop-main
hadoop-mapreduce
hadoop-mapreduce-client
hadoop-mapreduce-client-app
hadoop-mapreduce-client-common
hadoop-mapreduce-client-core
hadoop-mapreduce-client-hs
hadoop-mapreduce-client-jobclient
hadoop-mapreduce-client-shuffle
hadoop-maven-plugins
hadoop-minicluster
hadoop-minikdc
hadoop-openstack
hadoop-project
hadoop-project-dist
hadoop-streaming
hadoop-test
hadoop-tools
hadoop-yarn
hadoop-yarn-api
hadoop-yarn-applications
hadoop-yarn-applications-distributedshell
hadoop-yarn-client
hadoop-yarn-common
hadoop-yarn-server
hadoop-yarn-server-applicationhistoryservice
hadoop-yarn-server-common
hadoop-yarn-server-nodemanager
hadoop-yarn-server-resourcemanager
hadoop-yarn-server-tests
hadoop-yarn-server-web-proxy
这么多, 而且每个下来还有其他的依赖 ,完全是挑不出来的,必须要本机全部下载的。
你的pom里面不要使用cdh的仓库和cdh的版本,直接使用apache的hadoop版本为2.7.1都是可以的,一样的