Download weave Free Java Code
Description
Weave : Running YARN apps is as easy as running Java threads.
Source Files
The download file weave-master.zip has the following entries.
.gitignore//w w w . ja v a2 s .c o m
LICENSE-2.0.txt
README.md
api/pom.xml
api/src/main/java/com/continuuity/weave/api/AbstractWeaveRunnable.java
api/src/main/java/com/continuuity/weave/api/Command.java
api/src/main/java/com/continuuity/weave/api/EventHandler.java
api/src/main/java/com/continuuity/weave/api/EventHandlerContext.java
api/src/main/java/com/continuuity/weave/api/EventHandlerSpecification.java
api/src/main/java/com/continuuity/weave/api/LocalFile.java
api/src/main/java/com/continuuity/weave/api/ResourceReport.java
api/src/main/java/com/continuuity/weave/api/ResourceSpecification.java
api/src/main/java/com/continuuity/weave/api/RunId.java
api/src/main/java/com/continuuity/weave/api/RuntimeSpecification.java
api/src/main/java/com/continuuity/weave/api/SecureStore.java
api/src/main/java/com/continuuity/weave/api/ServiceAnnouncer.java
api/src/main/java/com/continuuity/weave/api/ServiceController.java
api/src/main/java/com/continuuity/weave/api/WeaveApplication.java
api/src/main/java/com/continuuity/weave/api/WeaveContext.java
api/src/main/java/com/continuuity/weave/api/WeaveController.java
api/src/main/java/com/continuuity/weave/api/WeavePreparer.java
api/src/main/java/com/continuuity/weave/api/WeaveRunResources.java
api/src/main/java/com/continuuity/weave/api/WeaveRunnable.java
api/src/main/java/com/continuuity/weave/api/WeaveRunnableSpecification.java
api/src/main/java/com/continuuity/weave/api/WeaveRunner.java
api/src/main/java/com/continuuity/weave/api/WeaveRunnerService.java
api/src/main/java/com/continuuity/weave/api/WeaveSpecification.java
api/src/main/java/com/continuuity/weave/api/logging/LogEntry.java
api/src/main/java/com/continuuity/weave/api/logging/LogHandler.java
api/src/main/java/com/continuuity/weave/api/logging/PrinterLogHandler.java
api/src/main/java/com/continuuity/weave/api/logging/package-info.java
api/src/main/java/com/continuuity/weave/api/package-info.java
api/src/main/java/com/continuuity/weave/internal/DefaultEventHandlerSpecification.java
api/src/main/java/com/continuuity/weave/internal/DefaultLocalFile.java
api/src/main/java/com/continuuity/weave/internal/DefaultResourceReport.java
api/src/main/java/com/continuuity/weave/internal/DefaultResourceSpecification.java
api/src/main/java/com/continuuity/weave/internal/DefaultRuntimeSpecification.java
api/src/main/java/com/continuuity/weave/internal/DefaultWeaveRunResources.java
api/src/main/java/com/continuuity/weave/internal/DefaultWeaveRunnableSpecification.java
api/src/main/java/com/continuuity/weave/internal/DefaultWeaveSpecification.java
api/src/main/java/com/continuuity/weave/internal/RunIds.java
api/src/main/java/com/continuuity/weave/internal/package-info.java
common/pom.xml
common/src/main/java/com/continuuity/weave/common/Cancellable.java
common/src/main/java/com/continuuity/weave/common/ServiceListenerAdapter.java
common/src/main/java/com/continuuity/weave/common/Services.java
common/src/main/java/com/continuuity/weave/common/Threads.java
common/src/main/java/com/continuuity/weave/filesystem/ForwardingLocationFactory.java
common/src/main/java/com/continuuity/weave/filesystem/LocalLocation.java
common/src/main/java/com/continuuity/weave/filesystem/LocalLocationFactory.java
common/src/main/java/com/continuuity/weave/filesystem/Location.java
common/src/main/java/com/continuuity/weave/filesystem/LocationFactories.java
common/src/main/java/com/continuuity/weave/filesystem/LocationFactory.java
common/src/test/java/com/continuuity/weave/common/ServicesTest.java
common/src/test/java/com/continuuity/weave/filesystem/LocalLocationTest.java
core/pom.xml
core/src/main/java/com/continuuity/weave/internal/AbstractExecutionServiceController.java
core/src/main/java/com/continuuity/weave/internal/AbstractWeaveController.java
core/src/main/java/com/continuuity/weave/internal/AbstractZKServiceController.java
core/src/main/java/com/continuuity/weave/internal/ApplicationBundler.java
core/src/main/java/com/continuuity/weave/internal/Arguments.java
core/src/main/java/com/continuuity/weave/internal/BasicWeaveContext.java
core/src/main/java/com/continuuity/weave/internal/Configs.java
core/src/main/java/com/continuuity/weave/internal/Constants.java
core/src/main/java/com/continuuity/weave/internal/ContainerInfo.java
core/src/main/java/com/continuuity/weave/internal/ContainerLiveNodeData.java
core/src/main/java/com/continuuity/weave/internal/EnvContainerInfo.java
core/src/main/java/com/continuuity/weave/internal/EnvKeys.java
core/src/main/java/com/continuuity/weave/internal/ListenerExecutor.java
core/src/main/java/com/continuuity/weave/internal/LogOnlyEventHandler.java
core/src/main/java/com/continuuity/weave/internal/ProcessController.java
core/src/main/java/com/continuuity/weave/internal/ProcessLauncher.java
core/src/main/java/com/continuuity/weave/internal/ServiceMain.java
core/src/main/java/com/continuuity/weave/internal/SingleRunnableApplication.java
core/src/main/java/com/continuuity/weave/internal/WeaveContainerController.java
core/src/main/java/com/continuuity/weave/internal/WeaveContainerLauncher.java
core/src/main/java/com/continuuity/weave/internal/WeaveContainerMain.java
core/src/main/java/com/continuuity/weave/internal/WeaveContainerService.java
core/src/main/java/com/continuuity/weave/internal/ZKMessages.java
core/src/main/java/com/continuuity/weave/internal/ZKServiceDecorator.java
core/src/main/java/com/continuuity/weave/internal/json/ArgumentsCodec.java
core/src/main/java/com/continuuity/weave/internal/json/JsonUtils.java
core/src/main/java/com/continuuity/weave/internal/json/LocalFileCodec.java
core/src/main/java/com/continuuity/weave/internal/json/ResourceReportAdapter.java
core/src/main/java/com/continuuity/weave/internal/json/ResourceReportCodec.java
core/src/main/java/com/continuuity/weave/internal/json/ResourceSpecificationCodec.java
core/src/main/java/com/continuuity/weave/internal/json/RuntimeSpecificationCodec.java
core/src/main/java/com/continuuity/weave/internal/json/StackTraceElementCodec.java
core/src/main/java/com/continuuity/weave/internal/json/StateNodeCodec.java
core/src/main/java/com/continuuity/weave/internal/json/WeaveRunResourcesCodec.java
core/src/main/java/com/continuuity/weave/internal/json/WeaveRunnableSpecificationCodec.java
core/src/main/java/com/continuuity/weave/internal/json/WeaveSpecificationAdapter.java
core/src/main/java/com/continuuity/weave/internal/json/WeaveSpecificationCodec.java
core/src/main/java/com/continuuity/weave/internal/kafka/EmbeddedKafkaServer.java
core/src/main/java/com/continuuity/weave/internal/kafka/client/AbstractCompressedMessageSetEncoder.java
core/src/main/java/com/continuuity/weave/internal/kafka/client/AbstractMessageSetEncoder.java
core/src/main/java/com/continuuity/weave/internal/kafka/client/BasicFetchedMessage.java
core/src/main/java/com/continuuity/weave/internal/kafka/client/Bufferer.java
core/src/main/java/com/continuuity/weave/internal/kafka/client/Compression.java
core/src/main/java/com/continuuity/weave/internal/kafka/client/ConnectionPool.java
core/src/main/java/com/continuuity/weave/internal/kafka/client/GZipMessageSetEncoder.java
core/src/main/java/com/continuuity/weave/internal/kafka/client/IdentityMessageSetEncoder.java
core/src/main/java/com/continuuity/weave/internal/kafka/client/KafkaBrokerCache.java
core/src/main/java/com/continuuity/weave/internal/kafka/client/KafkaRequest.java
core/src/main/java/com/continuuity/weave/internal/kafka/client/KafkaRequestEncoder.java
core/src/main/java/com/continuuity/weave/internal/kafka/client/KafkaRequestSender.java
core/src/main/java/com/continuuity/weave/internal/kafka/client/KafkaResponse.java
core/src/main/java/com/continuuity/weave/internal/kafka/client/KafkaResponseDispatcher.java
core/src/main/java/com/continuuity/weave/internal/kafka/client/KafkaResponseHandler.java
core/src/main/java/com/continuuity/weave/internal/kafka/client/MessageFetcher.java
core/src/main/java/com/continuuity/weave/internal/kafka/client/MessageSetEncoder.java
core/src/main/java/com/continuuity/weave/internal/kafka/client/ResponseHandler.java
core/src/main/java/com/continuuity/weave/internal/kafka/client/SimpleKafkaClient.java
core/src/main/java/com/continuuity/weave/internal/kafka/client/SnappyMessageSetEncoder.java
core/src/main/java/com/continuuity/weave/internal/kafka/client/TopicBroker.java
core/src/main/java/com/continuuity/weave/internal/kafka/client/package-info.java
core/src/main/java/com/continuuity/weave/internal/logging/KafkaAppender.java
core/src/main/java/com/continuuity/weave/internal/logging/KafkaWeaveRunnable.java
core/src/main/java/com/continuuity/weave/internal/logging/LogEntryDecoder.java
core/src/main/java/com/continuuity/weave/internal/logging/Loggings.java
core/src/main/java/com/continuuity/weave/internal/package-info.java
core/src/main/java/com/continuuity/weave/internal/state/Message.java
core/src/main/java/com/continuuity/weave/internal/state/MessageCallback.java
core/src/main/java/com/continuuity/weave/internal/state/MessageCodec.java
core/src/main/java/com/continuuity/weave/internal/state/Messages.java
core/src/main/java/com/continuuity/weave/internal/state/SimpleMessage.java
core/src/main/java/com/continuuity/weave/internal/state/StateNode.java
core/src/main/java/com/continuuity/weave/internal/state/SystemMessages.java
core/src/main/java/com/continuuity/weave/internal/utils/Dependencies.java
core/src/main/java/com/continuuity/weave/internal/utils/Instances.java
core/src/main/java/com/continuuity/weave/internal/utils/Networks.java
core/src/main/java/com/continuuity/weave/internal/utils/Paths.java
core/src/main/java/com/continuuity/weave/kafka/client/FetchException.java
core/src/main/java/com/continuuity/weave/kafka/client/FetchedMessage.java
core/src/main/java/com/continuuity/weave/kafka/client/KafkaClient.java
core/src/main/java/com/continuuity/weave/kafka/client/PreparePublish.java
core/src/main/java/com/continuuity/weave/kafka/client/package-info.java
core/src/main/java/com/continuuity/weave/launcher/WeaveLauncher.java
core/src/main/resources/kafka-0.7.2.tgz
core/src/test/java/com/continuuity/weave/internal/ControllerTest.java
core/src/test/java/com/continuuity/weave/internal/state/MessageCodecTest.java
core/src/test/java/com/continuuity/weave/internal/state/ZKServiceDecoratorTest.java
core/src/test/java/com/continuuity/weave/internal/utils/ApplicationBundlerTest.java
core/src/test/java/com/continuuity/weave/kafka/client/KafkaTest.java
core/src/test/resources/logback-test.xml
discovery-api/pom.xml
discovery-api/src/main/java/com/continuuity/weave/discovery/Discoverable.java
discovery-api/src/main/java/com/continuuity/weave/discovery/DiscoveryService.java
discovery-api/src/main/java/com/continuuity/weave/discovery/DiscoveryServiceClient.java
discovery-core/pom.xml
discovery-core/src/main/java/com/continuuity/weave/discovery/DiscoverableWrapper.java
discovery-core/src/main/java/com/continuuity/weave/discovery/InMemoryDiscoveryService.java
discovery-core/src/main/java/com/continuuity/weave/discovery/ZKDiscoveryService.java
discovery-core/src/main/java/com/continuuity/weave/discovery/package-info.java
discovery-core/src/test/java/com/continuuity/weave/discovery/InMemoryDiscoveryServiceTest.java
discovery-core/src/test/java/com/continuuity/weave/discovery/ZKDiscoveryServiceTest.java
discovery-core/src/test/resources/logback-test.xml
pom.xml
release.sh
yarn/pom.xml
yarn/src/main/hadoop20/com/continuuity/weave/internal/yarn/Hadoop20YarnAMClient.java
yarn/src/main/hadoop20/com/continuuity/weave/internal/yarn/Hadoop20YarnAppClient.java
yarn/src/main/hadoop20/com/continuuity/weave/internal/yarn/Hadoop20YarnApplicationReport.java
yarn/src/main/hadoop20/com/continuuity/weave/internal/yarn/Hadoop20YarnContainerInfo.java
yarn/src/main/hadoop20/com/continuuity/weave/internal/yarn/Hadoop20YarnContainerStatus.java
yarn/src/main/hadoop20/com/continuuity/weave/internal/yarn/Hadoop20YarnLaunchContext.java
yarn/src/main/hadoop20/com/continuuity/weave/internal/yarn/Hadoop20YarnLocalResource.java
yarn/src/main/hadoop20/com/continuuity/weave/internal/yarn/Hadoop20YarnNMClient.java
yarn/src/main/hadoop20/com/continuuity/weave/internal/yarn/ports/AMRMClient.java
yarn/src/main/hadoop20/com/continuuity/weave/internal/yarn/ports/AMRMClientImpl.java
yarn/src/main/hadoop21/com/continuuity/weave/internal/yarn/Hadoop21YarnAMClient.java
yarn/src/main/hadoop21/com/continuuity/weave/internal/yarn/Hadoop21YarnAppClient.java
yarn/src/main/hadoop21/com/continuuity/weave/internal/yarn/Hadoop21YarnApplicationReport.java
yarn/src/main/hadoop21/com/continuuity/weave/internal/yarn/Hadoop21YarnContainerInfo.java
yarn/src/main/hadoop21/com/continuuity/weave/internal/yarn/Hadoop21YarnContainerStatus.java
yarn/src/main/hadoop21/com/continuuity/weave/internal/yarn/Hadoop21YarnLaunchContext.java
yarn/src/main/hadoop21/com/continuuity/weave/internal/yarn/Hadoop21YarnLocalResource.java
yarn/src/main/hadoop21/com/continuuity/weave/internal/yarn/Hadoop21YarnNMClient.java
yarn/src/main/java/com/continuuity/weave/filesystem/HDFSLocation.java
yarn/src/main/java/com/continuuity/weave/filesystem/HDFSLocationFactory.java
yarn/src/main/java/com/continuuity/weave/filesystem/package-info.java
yarn/src/main/java/com/continuuity/weave/internal/appmaster/ApplicationMasterLiveNodeData.java
yarn/src/main/java/com/continuuity/weave/internal/appmaster/ApplicationMasterMain.java
yarn/src/main/java/com/continuuity/weave/internal/appmaster/ApplicationMasterProcessLauncher.java
yarn/src/main/java/com/continuuity/weave/internal/appmaster/ApplicationMasterService.java
yarn/src/main/java/com/continuuity/weave/internal/appmaster/ApplicationSubmitter.java
yarn/src/main/java/com/continuuity/weave/internal/appmaster/BasicEventHandlerContext.java
yarn/src/main/java/com/continuuity/weave/internal/appmaster/ExpectedContainers.java
yarn/src/main/java/com/continuuity/weave/internal/appmaster/LoggerContextListenerAdapter.java
yarn/src/main/java/com/continuuity/weave/internal/appmaster/ProvisionRequest.java
yarn/src/main/java/com/continuuity/weave/internal/appmaster/RunnableContainerRequest.java
yarn/src/main/java/com/continuuity/weave/internal/appmaster/RunnableProcessLauncher.java
yarn/src/main/java/com/continuuity/weave/internal/appmaster/RunningContainers.java
yarn/src/main/java/com/continuuity/weave/internal/appmaster/TrackerService.java
yarn/src/main/java/com/continuuity/weave/internal/appmaster/package-info.java
yarn/src/main/java/com/continuuity/weave/internal/yarn/AbstractYarnProcessLauncher.java
yarn/src/main/java/com/continuuity/weave/internal/yarn/VersionDetectYarnAMClientFactory.java
yarn/src/main/java/com/continuuity/weave/internal/yarn/VersionDetectYarnAppClientFactory.java
yarn/src/main/java/com/continuuity/weave/internal/yarn/YarnAMClient.java
yarn/src/main/java/com/continuuity/weave/internal/yarn/YarnAMClientFactory.java
yarn/src/main/java/com/continuuity/weave/internal/yarn/YarnAppClient.java
yarn/src/main/java/com/continuuity/weave/internal/yarn/YarnAppClientFactory.java
yarn/src/main/java/com/continuuity/weave/internal/yarn/YarnApplicationReport.java
yarn/src/main/java/com/continuuity/weave/internal/yarn/YarnContainerInfo.java
yarn/src/main/java/com/continuuity/weave/internal/yarn/YarnContainerStatus.java
yarn/src/main/java/com/continuuity/weave/internal/yarn/YarnLaunchContext.java
yarn/src/main/java/com/continuuity/weave/internal/yarn/YarnLocalResource.java
yarn/src/main/java/com/continuuity/weave/internal/yarn/YarnNMClient.java
yarn/src/main/java/com/continuuity/weave/internal/yarn/package-info.java
yarn/src/main/java/com/continuuity/weave/yarn/ResourceReportClient.java
yarn/src/main/java/com/continuuity/weave/yarn/YarnSecureStore.java
yarn/src/main/java/com/continuuity/weave/yarn/YarnWeaveController.java
yarn/src/main/java/com/continuuity/weave/yarn/YarnWeaveControllerFactory.java
yarn/src/main/java/com/continuuity/weave/yarn/YarnWeavePreparer.java
yarn/src/main/java/com/continuuity/weave/yarn/YarnWeaveRunnerService.java
yarn/src/main/java/com/continuuity/weave/yarn/package-info.java
yarn/src/main/java/com/continuuity/weave/yarn/utils/YarnUtils.java
yarn/src/main/resources/logback-template.xml
yarn/src/test/java/com/continuuity/weave/yarn/BuggyServer.java
yarn/src/test/java/com/continuuity/weave/yarn/DistributeShellTestRun.java
yarn/src/test/java/com/continuuity/weave/yarn/DistributedShell.java
yarn/src/test/java/com/continuuity/weave/yarn/EchoServer.java
yarn/src/test/java/com/continuuity/weave/yarn/EchoServerTestRun.java
yarn/src/test/java/com/continuuity/weave/yarn/EnvironmentEchoServer.java
yarn/src/test/java/com/continuuity/weave/yarn/FailureRestartTestRun.java
yarn/src/test/java/com/continuuity/weave/yarn/LocalFileTestRun.java
yarn/src/test/java/com/continuuity/weave/yarn/ProvisionTimeoutTestRun.java
yarn/src/test/java/com/continuuity/weave/yarn/ResourceReportTestRun.java
yarn/src/test/java/com/continuuity/weave/yarn/SocketServer.java
yarn/src/test/java/com/continuuity/weave/yarn/TaskCompletedTestRun.java
yarn/src/test/java/com/continuuity/weave/yarn/WeaveSpecificationTest.java
yarn/src/test/java/com/continuuity/weave/yarn/YarnTestSuite.java
yarn/src/test/resources/header.txt
yarn/src/test/resources/logback-test.xml
zookeeper/pom.xml
zookeeper/src/main/java/com/continuuity/weave/internal/zookeeper/BasicNodeChildren.java
zookeeper/src/main/java/com/continuuity/weave/internal/zookeeper/BasicNodeData.java
zookeeper/src/main/java/com/continuuity/weave/internal/zookeeper/DefaultZKClientService.java
zookeeper/src/main/java/com/continuuity/weave/internal/zookeeper/FailureRetryZKClient.java
zookeeper/src/main/java/com/continuuity/weave/internal/zookeeper/InMemoryZKServer.java
zookeeper/src/main/java/com/continuuity/weave/internal/zookeeper/KillZKSession.java
zookeeper/src/main/java/com/continuuity/weave/internal/zookeeper/NamespaceZKClient.java
zookeeper/src/main/java/com/continuuity/weave/internal/zookeeper/RetryUtils.java
zookeeper/src/main/java/com/continuuity/weave/internal/zookeeper/RewatchOnExpireWatcher.java
zookeeper/src/main/java/com/continuuity/weave/internal/zookeeper/RewatchOnExpireZKClient.java
zookeeper/src/main/java/com/continuuity/weave/internal/zookeeper/SettableOperationFuture.java
zookeeper/src/main/java/com/continuuity/weave/internal/zookeeper/package-info.java
zookeeper/src/main/java/com/continuuity/weave/zookeeper/ForwardingZKClient.java
zookeeper/src/main/java/com/continuuity/weave/zookeeper/ForwardingZKClientService.java
zookeeper/src/main/java/com/continuuity/weave/zookeeper/NodeChildren.java
zookeeper/src/main/java/com/continuuity/weave/zookeeper/NodeData.java
zookeeper/src/main/java/com/continuuity/weave/zookeeper/OperationFuture.java
zookeeper/src/main/java/com/continuuity/weave/zookeeper/RetryStrategies.java
zookeeper/src/main/java/com/continuuity/weave/zookeeper/RetryStrategy.java
zookeeper/src/main/java/com/continuuity/weave/zookeeper/ZKClient.java
zookeeper/src/main/java/com/continuuity/weave/zookeeper/ZKClientService.java
zookeeper/src/main/java/com/continuuity/weave/zookeeper/ZKClientServices.java
zookeeper/src/main/java/com/continuuity/weave/zookeeper/ZKClients.java
zookeeper/src/main/java/com/continuuity/weave/zookeeper/ZKOperations.java
zookeeper/src/main/java/com/continuuity/weave/zookeeper/package-info.java
zookeeper/src/test/java/com/continuuity/weave/zookeeper/RetryStrategyTest.java
zookeeper/src/test/java/com/continuuity/weave/zookeeper/ZKClientTest.java
zookeeper/src/test/java/com/continuuity/weave/zookeeper/ZKOperationsTest.java
zookeeper/src/test/resources/logback-test.xml
Download
Click the following link to download weave-master.zip.
weave-master.zip