Skip to content

Instantly share code, notes, and snippets.

@ottomata
Created May 31, 2018 17:02
Show Gist options
  • Save ottomata/f0fc0c93ab7a67bb73e7977ffcf7669a to your computer and use it in GitHub Desktop.
Save ottomata/f0fc0c93ab7a67bb73e7977ffcf7669a to your computer and use it in GitHub Desktop.
drop table MobileWikiAppiOSSessions;
drop table MobileWikiAppiOSUserHistory;
drop table MobileWikiAppiOSLoginAction;
drop table MobileWikiAppiOSSettingAction;
drop table MobileWikiAppiOSReadingLists;
sudo -u hdfs hdfs dfs -rm -r /wmf/data/raw/eventlogging/eventlogging_MobileWikiAppiOSSessions
sudo -u hdfs hdfs dfs -rm -r /wmf/data/raw/eventlogging/eventlogging_MobileWikiAppiOSUserHistory
sudo -u hdfs hdfs dfs -rm -r /wmf/data/raw/eventlogging/eventlogging_MobileWikiAppiOSLoginAction
sudo -u hdfs hdfs dfs -rm -r /wmf/data/raw/eventlogging/eventlogging_MobileWikiAppiOSSettingAction
sudo -u hdfs hdfs dfs -rm -r /wmf/data/raw/eventlogging/eventlogging_MobileWikiAppiOSReadingLists
sudo -u hdfs hdfs dfs -rm -r /wmf/data/event/MobileWikiAppiOSSessions
sudo -u hdfs hdfs dfs -rm -r /wmf/data/event/MobileWikiAppiOSUserHistory
sudo -u hdfs hdfs dfs -rm -r /wmf/data/event/MobileWikiAppiOSLoginAction
sudo -u hdfs hdfs dfs -rm -r /wmf/data/event/MobileWikiAppiOSSettingAction
sudo -u hdfs hdfs dfs -rm -r /wmf/data/event/MobileWikiAppiOSReadingLists
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment