[
https://issues.apache.org/jira/browse/TWILL-99?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14101921#comment-14101921
]
Terence Yim commented on TWILL-99:
----------------------------------
Running Hadoop on Windows requires the NativeIO Library (see
https://wiki.apache.org/hadoop/Hadoop2OnWindows). The Failure unit-test is
actually tries to start a MiniDFSCluster locally, hence requires the NativeIO
library.
We haven't tried building Twill on Windows. However, the Twill artifact jars
should be able to use on Windows (either get them through Maven dependencies or
build it without running unit tests "mvn clean package -DskipTests").
> Tests fail in when building twill
> ---------------------------------
>
> Key: TWILL-99
> URL: https://issues.apache.org/jira/browse/TWILL-99
> Project: Apache Twill
> Issue Type: Bug
> Components: yarn
> Environment: Windows 8
> Reporter: Sathish Raghuraman
> Labels: yarn
>
> I want to set up Twill on my Windows 8 machine so that I can submit YARN
> jobs. However, when I do - mvn clean install - for twill, I get the following
> errors. I am guessing I am missing some Hadoop libraries. Which ones should I
> be getting to fix this error?
> Results :
> Tests in error:
> HDFSLocationTest.init:39 » UnsatisfiedLink
> org.apache.hadoop.io.nativeio.Nati
> ...
> HDFSLocationTest.finish:45 NullPointer
> EchoServerTestRun>BaseYarnTest.init:35 » UnsatisfiedLink
> org.apache.hadoop.io
> ...
> ResourceReportTestRun.testResourceReport:203 NullPointer
> ResourceReportTestRun.testResourceReportWithFailingContainers:146
> NullPointer
> ResourceReportTestRun.testRunnablesGetAllowedResourcesInEnv:92 NullPointer
> TaskCompletedTestRun.testTaskCompleted:67 NullPointer
> LocalFileTestRun.testLocalFile:61 NullPointer
> FailureRestartTestRun.testFailureRestart:55 NullPointer
> ProvisionTimeoutTestRun.testProvisionTimeout:50 NullPointer
> LogHandlerTestRun.testLogHandler:73 NullPointer
> SessionExpireTestRun.testAppSessionExpire:61 NullPointer
> ServiceDiscoveryTestRun.testServiceDiscovery:52 NullPointer
> DebugTestRun.testDebugPortAllRunnables:131 NullPointer
> DebugTestRun.testDebugPortOneRunnable:107 NullPointer
> Tests run: 21, Failures: 0, Errors: 15, Skipped: 1
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO]
> [INFO] Apache Twill ...................................... SUCCESS [3.428s]
> [INFO] Apache Twill common library ....................... SUCCESS [12.620s]
> [INFO] Apache Twill discovery service API ................ SUCCESS [2.318s]
> [INFO] Apache Twill API .................................. SUCCESS [6.204s]
> [INFO] Apache Twill ZooKeeper client library ............. SUCCESS [59.759s]
> [INFO] Apache Twill discovery service implementations .... SUCCESS [26.353s]
> [INFO] Apache Twill core library ......................... SUCCESS [31.173s]
> [INFO] Apache Twill Apache Hadoop YARN library ........... FAILURE [50.666s]
> [INFO] Apache Twill extensions ........................... SKIPPED
> [INFO] Apache Twill examples ............................. SKIPPED
> [INFO] Apache Twill examples: Echo ....................... SKIPPED
> [INFO] Apache Twill examples: YARN ....................... SKIPPED
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 3:13.077s
> [INFO] Finished at: Mon Aug 18 13:54:40 CST 2014
> [INFO] Final Memory: 57M/169M
> [INFO]
> ------------------------------------------------------------------------
--
This message was sent by Atlassian JIRA
(v6.2#6252)