Skip to content

Instantly share code, notes, and snippets.

View akanto's full-sized avatar

Attila Kanto akanto

  • Hortonworks
  • Hungary
View GitHub Profile
@akanto
akanto / perf-test-repl1
Last active April 11, 2016 12:44
perf-test-repl1
[hdfs@docker-ambari ~]# for i in 1 4 8 12 16 20 24 28 32 36; do hadoop jar $JAR_JOBCLIENT TestDFSIO -Ddfs.replication=1 -write -nrFiles $i -fileSize 8192; done
WARNING: Use "yarn jar" to launch YARN applications.
16/04/11 12:31:39 INFO fs.TestDFSIO: TestDFSIO.1.8
16/04/11 12:31:39 INFO fs.TestDFSIO: nrFiles = 1
16/04/11 12:31:39 INFO fs.TestDFSIO: nrBytes (MB) = 8192.0
16/04/11 12:31:39 INFO fs.TestDFSIO: bufferSize = 1000000
16/04/11 12:31:39 INFO fs.TestDFSIO: baseDir = /benchmarks/TestDFSIO
16/04/11 12:31:40 INFO fs.TestDFSIO: creating control file: 8589934592 bytes, 1 files
16/04/11 12:31:40 INFO fs.TestDFSIO: created control files for: 1 files
16/04/11 12:31:41 INFO impl.TimelineClientImpl: Timeline service address: http://ip-10-0-71-101.node.dc1.consul:8188/ws/v1/timeline/
@akanto
akanto / perf-test-repl2
Created April 11, 2016 14:03
perf-test-repl2
WARNING: Use "yarn jar" to launch YARN applications.
16/04/11 13:41:18 INFO fs.TestDFSIO: TestDFSIO.1.8
16/04/11 13:41:18 INFO fs.TestDFSIO: nrFiles = 1
16/04/11 13:41:18 INFO fs.TestDFSIO: nrBytes (MB) = 8192.0
16/04/11 13:41:18 INFO fs.TestDFSIO: bufferSize = 1000000
16/04/11 13:41:18 INFO fs.TestDFSIO: baseDir = /benchmarks/TestDFSIO
16/04/11 13:41:19 INFO fs.TestDFSIO: creating control file: 8589934592 bytes, 1 files
16/04/11 13:41:19 INFO fs.TestDFSIO: created control files for: 1 files
16/04/11 13:41:19 INFO impl.TimelineClientImpl: Timeline service address: http://ip-10-0-71-101.node.dc1.consul:8188/ws/v1/timeline/
16/04/11 13:41:19 INFO client.RMProxy: Connecting to ResourceManager at ip-10-0-71-101.node.dc1.consul/10.0.71.101:8050
@akanto
akanto / perf-test-repl3
Created April 11, 2016 14:47
perf-test-repl3
[hdfs@docker-ambari ~]# for i in 1 4 8 12 16 20 24 28 32 36; do
> hadoop jar $JAR_JOBCLIENT TestDFSIO -Ddfs.replication=3 -write -nrFiles $i -fileSize 8192
> done
WARNING: Use "yarn jar" to launch YARN applications.
16/04/11 14:03:40 INFO fs.TestDFSIO: TestDFSIO.1.8
16/04/11 14:03:40 INFO fs.TestDFSIO: nrFiles = 1
16/04/11 14:03:40 INFO fs.TestDFSIO: nrBytes (MB) = 8192.0
16/04/11 14:03:40 INFO fs.TestDFSIO: bufferSize = 1000000
16/04/11 14:03:40 INFO fs.TestDFSIO: baseDir = /benchmarks/TestDFSIO
16/04/11 14:03:41 INFO fs.TestDFSIO: creating control file: 8589934592 bytes, 1 files
@akanto
akanto / custom.conf
Last active May 6, 2016 07:28
custom.conf
auto_accept: True
external_auth:
pam:
saltuser:
- .*
- '@wheel' # to allow access to all wheel modules
- '@runner' # to allow access to all runner modules
- '@jobs' # to allow access to the jobs runner and/or wheel module
@akanto
akanto / install-nvidia-driver.sh
Last active February 6, 2017 14:37
install-nvidia-driver.sh
#!/bin/bash
install_drivers() {
cat > /etc/yum.repos.d/amzn-graphics.repo <<'EOF'
[amzn-graphics]
name=amzn-graphics-Base
mirrorlist=http://repo.$awsregion.$awsdomain/$releasever/graphics/mirror.list
mirrorlist_expire=300
metadata_expire=300
priority=9
@akanto
akanto / ka-mnist.sh
Created February 6, 2017 14:54
ka-mnist.sh
#!/bin/bash
get_mnist_example() {
su -c "cd /home/spark && git clone https://github.com/akanto/ml.git && cd ml && git checkout hcc-cuda-blog" spark
}
main() {
get_mnist_example
}