GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - codeboyyong/distributed-shell

BranchesTags
Open more actions menu

Latest commit

 

History

14 Commits
14 Commits

Folders and files

NameName
Last commit message
Last commit date
hadoop-installtion
hadoop-installtion
 
 
src/main
src/main
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
ROADMAP.md
ROADMAP.md
 
 
pom.xml
pom.xml
 
 

Repository files navigation

distributed-shell

The target of this project is to create a real distrbuted web shell in yarn cluster.

###simple usgae:

1) mvn package
2)  export HADOOP_YARN_HOME=/apache2.2.0/hadoop-2.2.0
	export HADOOP_VERSION=2.2.0
3) cp ./target/distributed-shell-0.1.jar $HADOOP_YARN_HOME
4) cd $HADOOP_YARN_HOME, then run the following

Unmanaged mode

$ bin/hadoop jar ./share/hadoop/yarn/hadoop-yarn-applications-unmanaged-am-launcher-$HADOOP_VERSION.jar \
Client -classpath distributed-shell-0.1.jar  \
-cmd "java com.codeboy.dshell.ApplicationMaster"

The check this url in your browser: http://localhost:8088, click the "TrackingUrl" of your job, you will see the distributed web shell

Managed mode

$ bin/hadoop fs -copyFromLocal distributed-shell-0.1.jar /apps/simple/distributed-shell.jar

$ bin/hadoop jar distributed-shell-0.1.jar com.codeboy.dshell.ApplicationMasterClient /apps/simple/distributed-shell.jar

Use mvn eclipse:eclipse to generate eclipse project Currently this is only developed and tested in Mac os X10.9 with Eclipse 4.2

how to test webshell with out the yarn

mvn exec:java -Dexec.mainClass=com.codeboy.dshell.webshell.WebShellServer

open this url in your browser : http://localhost:8898/distributedshell

About

No description, website, or topics provided.

Resources

Readme
Apache-2.0 license
Activity

Stars

1 star

Watchers

2 watching

Forks

1 fork
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.