Skip to content

Commit

Permalink
Run spark cronjobs on ipynb directly (#8735)
Browse files Browse the repository at this point in the history
and fix all spark queries
  • Loading branch information
novicecpp authored Oct 11, 2024
1 parent 98bdaa7 commit 0bec3b5
Show file tree
Hide file tree
Showing 20 changed files with 1,876 additions and 3,770 deletions.
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ tmp/runtime/*
# python virtualenv
.venv/
# ci directory
build/
workdir/
/build/
/workdir/
# direnv
.envrc
# pylint config
Expand Down
12 changes: 2 additions & 10 deletions cicd/monit_spark/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM registry.cern.ch/cmsmonitoring/cmsmon-spark:v0.5.0.1
FROM registry.cern.ch/cmsmonitoring/cmsmon-spark:v0.5.0.1

## build with from dmwm/CRABServer, root directory
# docker buildx build -t registry.cern.ch/cmscrab/crabspark:(date +%s) -f cicd/monit_spark/Dockerfile .
Expand All @@ -9,17 +9,9 @@ RUN yum install -y \
&& rm -rf /var/cache/yum

RUN mkdir -p /data/srv/spark/
COPY ./src/script/Monitor/crab-spark/workdir/osearch.py \
./src/script/Monitor/crab-spark/workdir/bootstrap.sh \
./src/script/Monitor/crab-spark/cronjobs/crab_condor_daily.py \
./src/script/Monitor/crab-spark/cronjobs/crab_tape_recall_rules_history_daily.py \
./src/script/Monitor/crab-spark/cronjobs/run_spark.sh \
./src/script/Monitor/crab-spark/cronjobs/crab_data_daily.py \
./src/script/Monitor/crab-spark/cronjobs/crab_tape_recall_updated_rules_daily.py \
COPY ./src/script/Monitor/crab-spark \
/data/srv/spark

ENTRYPOINT ["tini", "--"]

CMD ["echo", "no default script for spark docker image"]


250 changes: 0 additions & 250 deletions src/script/Monitor/crab-spark/cronjobs/crab_condor_daily.py

This file was deleted.

Loading

0 comments on commit 0bec3b5

Please sign in to comment.