njuallen / ucas-bdms-hw1 Goto Github PK
View Code? Open in Web Editor NEWUCAS Big Data Systems Courses homework 1
UCAS Big Data Systems Courses homework 1
-------------------------------------------------------------------------------- README -------------------------------------------------------------------------------- PLEASE save your code and data to a portable drive!!! WARNING: this VM will be cleaned without notice after you log out. Your code and data on the VM will get lost!!! 1. start hdfs and hbase $ start-dfs.sh $ start-hbase.sh 2. stop hdfs and hbase $ stop-hbase.sh $ stop-dfs.sh 3. hdfs directory is ~/work/hdfs 4. To compile your java code MyCode.java (implementing class MyCode) $ javac MyCode then to run it $ java MyCode <args> 5. compile and run HDFSTest.java $ javac HDFSTest.java $ java HDFSTest 6. compile and run HBaseTest.java $ javac HBaseTest.java $ java HBaseTest check if we have successfully create mytable and put the new row start hbase shell and run command in hbase shell $ hbase shell hbase(main):001:0> scan 'mytable' ROW COLUMN+CELL abc column=mycf:a, timestamp=1428459927307, value=789 1 row(s) in 1.8950 seconds hbase(main):002:0> disable 'mytable' 0 row(s) in 1.9050 seconds hbase(main):003:0> drop 'mytable' 0 row(s) in 1.2320 seconds hbase(main):004:0> exit --------------------------------------------------------------------------------
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.