pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/JaeGeunBang/bigdata-examples

370f045c7e0.css" /> GitHub - JaeGeunBang/bigdata-examples · GitHub
Skip to content

JaeGeunBang/bigdata-examples

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

bigdata-examples

Build the Project using mvn package

To work with main classes use bigdata-examples-0.0.1-SNAPSHOT.jar

To work with main classes & dependency jars use bigdata-examples-0.0.1-SNAPSHOT-dependency-jars.jar

Generate Sample Users using Below Command

usage: help
-d,--delimiter Field Delimiter
-f,--file output file path
-h,--help Show this help and quit
-n,--numberOfUsers number of users
-s,--startNumber starting number of userid, bydefault is 1

#Example1 : To Generate json data, use below command

java -cp target/bigdata-examples-0.0.1-SNAPSHOT-dependency-jars.jar <br> com.orienit.kalyan.examples.GenerateUsers <br> -f /tmp/users.json <br> -n 10 <br> -s 1

#Example2 : To Generate csv data, use below command

java -cp target/bigdata-examples-0.0.1-SNAPSHOT-dependency-jars.jar <br> com.orienit.kalyan.examples.GenerateUsers <br> -f /tmp/users.csv <br> -d ',' <br> -n 10 <br> -s 1

#Example3 : To Generate tsv data, use below command

java -cp target/bigdata-examples-0.0.1-SNAPSHOT-dependency-jars.jar <br> com.orienit.kalyan.examples.GenerateUsers <br> -f /tmp/users.tsv <br> -d '\t' <br> -n 10 <br> -s 1

#Example4 : To Generate any delimiter data, use below command

java -cp target/bigdata-examples-0.0.1-SNAPSHOT-dependency-jars.jar <br> com.orienit.kalyan.examples.GenerateUsers <br> -f /tmp/users.txt <br> -d '#' <br> -n 10 <br> -s 1

Generate Sample Product Log using Below Command

usage: help
-d,--delimiter Field Delimiter
-f,--file output file path
-h,--help Show this help and quit
-l,--numberOfLogs number of logs
-n,--numberOfUsers number of users

#Example1 : To Generate json data, use below command

java -cp target/bigdata-examples-0.0.1-SNAPSHOT-dependency-jars.jar <br> com.orienit.kalyan.examples.GenerateProductLog <br> -f /tmp/productlog.json <br> -n 10 <br> -l 20

#Example2 : To Generate csv data, use below command

java -cp target/bigdata-examples-0.0.1-SNAPSHOT-dependency-jars.jar <br> com.orienit.kalyan.examples.GenerateProductLog <br> -f /tmp/productlog.csv <br> -d ',' <br> -n 10 <br> -l 20

#Example3 : To Generate tsv data, use below command

java -cp target/bigdata-examples-0.0.1-SNAPSHOT-dependency-jars.jar <br> com.orienit.kalyan.examples.GenerateProductLog <br> -f /tmp/productlog.tsv <br> -d '\t' <br> -n 10 <br> -l 20

#Example4 : To Generate any delimiter data, use below command

java -cp target/bigdata-examples-0.0.1-SNAPSHOT-dependency-jars.jar <br> com.orienit.kalyan.examples.GenerateProductLog <br> -f /tmp/productlog.txt <br> -d '#' <br> -n 10 <br> -l 20

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Java 100.0%
pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy