我試著修改Fairscheduler中的LoadManager 想增加ㄧ些負載平衡的機制
當修改完想進行測試的時候,編譯的部分一直出錯,爬了許多文,也沒辦法解決
所以想請問有人知道為甚麼嗎?
以下為編譯的過程
代碼:
hduser@master:/opt/hadoop$ ant compile-contrib
Buildfile: /opt/hadoop/build.xml
clover.setup:
clover.info:
[echo]
[echo] Clover not found. Code coverage reports disabled.
[echo]
clover:
ivy-init-dirs:
ivy-probe-antlib:
ivy-init-antlib:
ivy-init:
[ivy:configure] :: Apache Ivy 2.3.0 - 20130110142753 :: http://ant.apache.org/ivy/ ::
[ivy:configure] :: loading settings :: file = /opt/hadoop/ivy/ivysettings.xml
ivy-resolve-common:
ivy-retrieve-common:
[ivy:cachepath] DEPRECATED: 'ivy.conf.file' is deprecated, use 'ivy.settings.file' instead
[ivy:cachepath] :: loading settings :: file = /opt/hadoop/ivy/ivysettings.xml
init:
[touch] Creating /tmp/null1717781464
[delete] Deleting: /tmp/null1717781464
[copy] Copying 1 file to /opt/hadoop/conf
[copy] Copying /opt/hadoop/conf/fair-scheduler.xml.template to /opt/hadoop/conf/fair-scheduler.xml
[exec] src/saveVersion.sh: 1: src/saveVersion.sh: svn: not found
[exec] src/saveVersion.sh: 1: src/saveVersion.sh: svn: not found
record-parser:
compile-rcc-compiler:
[javac] /opt/hadoop/build.xml:473: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
compile-core-classes:
[javac] /opt/hadoop/build.xml:497: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
compile-hdfs-classes:
[javac] /opt/hadoop/build.xml:593: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
[javac] Compiling 2 source files to /opt/hadoop/build/classes
[javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
[javac] 1 warning
compile-mapred-classes:
Trying to override old definition of task jsp-compile
[javac] /opt/hadoop/build.xml:550: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
create-native-configure:
[exec] configure.ac:42: warning: AC_COMPILE_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS
[exec] ../../lib/autoconf/specific.m4:310: AC_GNU_SOURCE is expanded from...
[exec] configure.ac:42: the top level
[exec] configure.ac:42: warning: AC_COMPILE_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS
[exec] ../../lib/autoconf/specific.m4:310: AC_GNU_SOURCE is expanded from...
[exec] configure.ac:42: the top level
[exec] libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `config'.
[exec] libtoolize: copying file `config/config.guess'
[exec] libtoolize: copying file `config/config.sub'
[exec] libtoolize: copying file `config/install-sh'
[exec] libtoolize: copying file `config/ltmain.sh'
[exec] libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and
[exec] libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
[exec] libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
[exec] configure.ac:42: warning: AC_COMPILE_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS
[exec] ../../lib/autoconf/specific.m4:310: AC_GNU_SOURCE is expanded from...
[exec] configure.ac:42: the top level
[exec] configure.ac:42: warning: AC_COMPILE_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS
[exec] ../../lib/autoconf/specific.m4:310: AC_GNU_SOURCE is expanded from...
[exec] configure.ac:42: the top level
[exec] configure.ac:42: warning: AC_COMPILE_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS
[exec] ../../lib/autoconf/specific.m4:310: AC_GNU_SOURCE is expanded from...
[exec] configure.ac:42: the top level
[exec] configure.ac:42: warning: AC_COMPILE_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS
[exec] ../../lib/autoconf/specific.m4:310: AC_GNU_SOURCE is expanded from...
[exec] configure.ac:42: the top level
[exec] Makefile.am:32: shell echo $$OS_NAME | tr [A-Z] [a-z]: non-POSIX variable name
[exec] Makefile.am:32: (probably a GNU make extension)
compile-core-native:
create-c++-configure:
check-c++-makefiles:
create-c++-pipes-makefile:
create-c++-utils-makefile:
compile-c++-utils:
compile-c++-pipes:
compile-c++:
compile-core:
jar:
[tar] Nothing to do: /opt/hadoop/build/classes/bin.tgz is up to date.
[jar] Building jar: /opt/hadoop/build/hadoop-core-1.2.1.jar
compile-tools:
[javac] /opt/hadoop/build.xml:614: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
tools-jar:
check-c++-libhdfs:
check-c++-makefile-libhdfs:
create-c++-libhdfs-makefile:
compile-c++-libhdfs:
compile-contrib:
compile:
check-contrib:
init:
[echo] contrib: capacity-scheduler
init-contrib:
ivy-probe-antlib:
ivy-init-antlib:
ivy-init:
[ivy:configure] :: loading settings :: file = /opt/hadoop/ivy/ivysettings.xml
ivy-resolve-common:
ivy-retrieve-common:
[ivy:cachepath] DEPRECATED: 'ivy.conf.file' is deprecated, use 'ivy.settings.file' instead
[ivy:cachepath] :: loading settings :: file = /opt/hadoop/ivy/ivysettings.xml
compile:
[echo] contrib: capacity-scheduler
[javac] /opt/hadoop/src/contrib/build-contrib.xml:190: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
check-contrib:
init:
[echo] contrib: datajoin
init-contrib:
ivy-probe-antlib:
ivy-init-antlib:
ivy-init:
[ivy:configure] :: loading settings :: file = /opt/hadoop/ivy/ivysettings.xml
ivy-resolve-common:
ivy-retrieve-common:
[ivy:cachepath] DEPRECATED: 'ivy.conf.file' is deprecated, use 'ivy.settings.file' instead
[ivy:cachepath] :: loading settings :: file = /opt/hadoop/ivy/ivysettings.xml
compile:
[echo] contrib: datajoin
[javac] /opt/hadoop/src/contrib/build-contrib.xml:190: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
check-contrib:
[echo] eclipse.home unset: skipping eclipse plugin
init:
ivy-probe-antlib:
ivy-init-antlib:
ivy-init:
[ivy:configure] :: loading settings :: file = /opt/hadoop/ivy/ivysettings.xml
ivy-resolve-common:
ivy-retrieve-common:
[ivy:cachepath] DEPRECATED: 'ivy.conf.file' is deprecated, use 'ivy.settings.file' instead
[ivy:cachepath] :: loading settings :: file = /opt/hadoop/ivy/ivysettings.xml
compile:
check-contrib:
init:
[echo] contrib: failmon
init-contrib:
ivy-probe-antlib:
ivy-init-antlib:
ivy-init:
[ivy:configure] :: loading settings :: file = /opt/hadoop/ivy/ivysettings.xml
ivy-resolve-common:
ivy-retrieve-common:
[ivy:cachepath] DEPRECATED: 'ivy.conf.file' is deprecated, use 'ivy.settings.file' instead
[ivy:cachepath] :: loading settings :: file = /opt/hadoop/ivy/ivysettings.xml
compile:
[echo] contrib: failmon
[javac] /opt/hadoop/src/contrib/build-contrib.xml:190: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
check-contrib:
init:
[echo] contrib: fairscheduler
init-contrib:
ivy-probe-antlib:
ivy-init-antlib:
ivy-init:
[ivy:configure] :: loading settings :: file = /opt/hadoop/ivy/ivysettings.xml
ivy-resolve-common:
ivy-retrieve-common:
[ivy:cachepath] DEPRECATED: 'ivy.conf.file' is deprecated, use 'ivy.settings.file' instead
[ivy:cachepath] :: loading settings :: file = /opt/hadoop/ivy/ivysettings.xml
compile:
[echo] contrib: fairscheduler
[javac] /opt/hadoop/src/contrib/build-contrib.xml:190: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
check-libhdfs-fuse:
check-libhdfs-exists:
compile:
check-contrib:
init:
[echo] contrib: gridmix
init-contrib:
ivy-probe-antlib:
ivy-init-antlib:
ivy-init:
[ivy:configure] :: loading settings :: file = /opt/hadoop/ivy/ivysettings.xml
ivy-resolve-common:
[ivy:resolve]
[ivy:resolve] :: problems summary ::
[ivy:resolve] :::: WARNINGS
[ivy:resolve] ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:resolve] :: UNRESOLVED DEPENDENCIES ::
[ivy:resolve] ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:resolve] :: org.mortbay.jetty#jsp-2.1;6.1.14: configuration not found in org.mortbay.jetty#jsp-2.1;6.1.14: 'master'. It was required from org.apache.hadoop#gridmix;working@master common
[ivy:resolve] ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:resolve]
[ivy:resolve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
BUILD FAILED
/opt/hadoop/build.xml:723: The following error occurred while executing this line:
/opt/hadoop/src/contrib/build.xml:30: The following error occurred while executing this line:
/opt/hadoop/src/contrib/build-contrib.xml:493: impossible to resolve dependencies:
resolve failed - see output for details
Total time: 13 seconds