1 problems when the environment is set up to run the program about LOG4J report error, and the console is not running log printing
1) Log4j:warn No Appenders could is found for logger (org.apache.ibatis.logging.LogFactory).
Log4j:warn Initialize the log4j system properly
Cause: log4j configuration file is not fully configured
Workaround:
Create a Log4j.propertities file to add configuration under the Hadoop project SRC you created
Log4j.rootlogger=info, stdout
Log4j.appender.stdout=org.apache.log4j.consoleappender
Log4j.appender.stdout.layout=org.apache.log4j.patternlayout
log4j.appender.stdout.layout.conversionpattern=%d%p [%c]-%m%n
Log4j.appender.logfile=org.apache.log4j.fileappender
Log4j.appender.logfile.file=target/spring.log
Log4j.appender.logfile.layout=org.apache.log4j.patternlayout
log4j.appender.logfile.layout.conversionpattern=%d%p [%c]-%m%n
2. Jobclinet jobfailed
Reason: The main is currently insufficient user rights for administrator users
solutions; User right to open response on HDFs
Win7 Eclipse debugging Hadoop pits