This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| for i in `seq -f %02g 1 99` ; do hadoop job -kill-task attempt_<job_id>_r_0000${i}_0; done |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| git checkout `git log -1 --oneline --no-abbrev-commit --until=2014-11-01 |cut -d ' ' -f 1` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| mysql> select @@GLOBAL.sql_mode; | |
| +--------------------------------------------+ | |
| | @@GLOBAL.sql_mode | | |
| +--------------------------------------------+ | |
| | STRICT_TRANS_TABLES,NO_ENGINE_SUBSTITUTION | | |
| +--------------------------------------------+ | |
| 1 row in set (0.00 sec) | |
| mysql> SET @@GLOBAL.sql_mode='' | |
| -> ; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| - sudo ln -s /usr/lib/spark/lib/spark-assembly.jar /usr/lib/hive/lib/spark-assembly.jar | |
| - sudo -u hdfs hdfs dfs -mkdir /user/vagrant | |
| - sudo -u hdfs hdfs dfs -chown vagrant /user/vagrant |