Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
0.9.0, 0.10.0, 0.11.0
-
None
-
None
Description
If building from our top level project directory, make clean deletes some files tracked by our repository.
Looking quickly I see some of the files are in the clean-local target of hadoop/Makefile.am but I'm not sure why the .java files are getting cleaned up as well. Did we intend to check in all these files?
$ git status
- On branch bmahler/executor_uuid
- Your branch is ahead of 'apache/trunk' by 1 commit.
# - Changes not staged for commit:
- (use "git add/rm <file>..." to update what will be committed)
- (use "git checkout – <file>..." to discard changes in working directory)
# - deleted: hadoop/TUTORIAL.sh
- deleted: hadoop/hadoop-0.20.2-cdh3u3.patch
- deleted: hadoop/hadoop-0.20.2-cdh3u3_hadoop-env.sh.patch
- deleted: hadoop/hadoop-0.20.2-cdh3u3_mesos.patch
- deleted: hadoop/hadoop-0.20.205.0.patch
- deleted: hadoop/hadoop-0.20.205.0_hadoop-env.sh.patch
- deleted: hadoop/hadoop-0.20.205.0_mesos.patch
- deleted: hadoop/mapred-site.xml.patch
- deleted: hadoop/mesos-executor
- deleted: hadoop/mesos/build.xml
- deleted: hadoop/mesos/ivy.xml
- deleted: hadoop/mesos/ivy/libraries.properties
- deleted: hadoop/mesos/src/java/org/apache/hadoop/mapred/FrameworkExecutor.java
- deleted: hadoop/mesos/src/java/org/apache/hadoop/mapred/FrameworkScheduler.java
- deleted: hadoop/mesos/src/java/org/apache/hadoop/mapred/HadoopFrameworkMessage.java
- deleted: hadoop/mesos/src/java/org/apache/hadoop/mapred/MesosScheduler.java
- deleted: hadoop/mesos/src/java/org/apache/hadoop/mapred/MesosTaskTrackerInstrumentation.java
Output from make clean:
$ make clean
Making clean in hadoop
rm -rf .libs _libs
rm -rf hadoop-0.20.2-cdh3u3
rm -f hadoop-0.20.2-cdh3u3.tar.gz
rm -rf hadoop-0.20.205.0
rm -f hadoop-0.20.205.0.tar.gz
rm -f TUTORIAL.sh
rm -f hadoop-0.20.2-cdh3u3.patch
rm -f hadoop-0.20.2-cdh3u3_hadoop-env.sh.patch
rm -f hadoop-0.20.2-cdh3u3_mesos.patch
rm -f hadoop-0.20.205.0.patch
rm -f hadoop-0.20.205.0_hadoop-env.sh.patch
rm -f hadoop-0.20.205.0_mesos.patch
rm -f mapred-site.xml.patch
rm -rf mesos
rm -f mesos-executor
rm -f *.lo
Making clean in ec2
rm -rf .libs _libs
rm -f *.lo
Making clean in src
rm -f mesos-local mesos-local
rm -f mesos-log mesos-log
rm -f mesos-mesos mesos-mesos
rm -f test-framework test-framework
rm -f test-executor test-executor
rm -f long-lived-framework long-lived-framework
rm -f long-lived-executor long-lived-executor
rm -f no-executor-framework no-executor-framework
rm -f balloon-framework balloon-framework
rm -f balloon-executor balloon-executor
rm -f mesos-tests mesos-tests
test -z "mesos.pb.cc mesos.pb.h java/generated/org/apache/mesos/Protos.java python/src/mesos_pb2.py messages/messages.pb.cc messages/messages.pb.h messages/log.pb.cc messages/log.pb.h messages/state.pb.cc messages/state.pb.h ../protobuf-2.4.1.jar mesos-0.9.0.jar ../src/mesos-0.9.0-sources.jar examples.jar ../third_party/protobuf-2.4.1/python/dist/protobuf-2.4.1-py2.7.egg python/dist/mesos-0.9.0-py2.7-macosx-10.7-x86_64.egg python/build/temp./native/.o python/build/lib./" || rm -f mesos.pb.cc mesos.pb.h java/generated/org/apache/mesos/Protos.java python/src/mesos_pb2.py messages/messages.pb.cc messages/messages.pb.h messages/log.pb.cc messages/log.pb.h messages/state.pb.cc messages/state.pb.h ../protobuf-2.4.1.jar mesos-0.9.0.jar ../src/mesos-0.9.0-sources.jar examples.jar ../third_party/protobuf-2.4.1/python/dist/protobuf-2.4.1-py2.7.egg python/dist/mesos-0.9.0-py2.7-macosx-10.7-x86_64.egg python/build/temp./native/.o python/build/lib./
test -z "libmesos.la" || rm -f libmesos.la
rm -f "./so_locations"
rm -rf .libs _libs
rm -rf common/.libs common/_libs
rm -rf configurator/.libs configurator/_libs
rm -rf detector/.libs detector/_libs
rm -rf exec/.libs exec/_libs
rm -rf files/.libs files/_libs
rm -rf java/jni/.libs java/jni/_libs
rm -rf jvm/.libs jvm/_libs
rm -rf launcher/.libs launcher/_libs
rm -rf linux/.libs linux/_libs
rm -rf local/.libs local/_libs
rm -rf log/.libs log/_libs
rm -rf logging/.libs logging/_libs
rm -rf master/.libs master/_libs
rm -rf messages/.libs messages/_libs
rm -rf sched/.libs sched/_libs
rm -rf slave/.libs slave/_libs
rm -rf state/.libs state/_libs
rm -rf webui/.libs webui/_libs
rm -rf zookeeper/.libs zookeeper/_libs
rm -rf java/classes
rm -f examples/java/*.class
rm -f java/jni/org_apache_mesos*.h
rm f mesos*.jar
test ".." = ".." || \
(chmod -R u+w python/native; \
rm -rf python/src/mesos.py python/native)
rm -rf python/src/mesos.egg-info python/build
rm f python/dist/mesos*.egg
rm -rf ../test_output
test -z "libmesos_no_third_party.la libbuild.la liblog.la libstate.la libwebui.la libjava.la" || rm -f libmesos_no_third_party.la libbuild.la liblog.la libstate.la libwebui.la libjava.la
rm -f "./so_locations"
rm -f "./so_locations"
rm -f "./so_locations"
rm -f "./so_locations"
rm -f "./so_locations"
rm -f "./so_locations"
rm -f mesos-launcher mesos-launcher
rm -f mesos-executor mesos-executor
rm -f mesos-master mesos-master
rm -f mesos-slave mesos-slave
rm -f *.o
rm -f common/libbuild_la-build.o
rm -f common/libbuild_la-build.lo
rm -f common/libmesos_no_third_party_la-attributes.o
rm -f common/libmesos_no_third_party_la-attributes.lo
rm -f common/libmesos_no_third_party_la-date_utils.o
rm -f common/libmesos_no_third_party_la-date_utils.lo
rm -f common/libmesos_no_third_party_la-lock.o
rm -f common/libmesos_no_third_party_la-lock.lo
rm -f common/libmesos_no_third_party_la-resources.o
rm -f common/libmesos_no_third_party_la-resources.lo
rm -f common/libmesos_no_third_party_la-values.o
rm -f common/libmesos_no_third_party_la-values.lo
rm -f configurator/libmesos_no_third_party_la-configurator.o
rm -f configurator/libmesos_no_third_party_la-configurator.lo
rm -f detector/libmesos_no_third_party_la-detector.o
rm -f detector/libmesos_no_third_party_la-detector.lo
rm -f examples/balloon_executor-balloon_executor.o
rm -f examples/balloon_framework-balloon_framework.o
rm -f examples/long_lived_executor-long_lived_executor.o
rm -f examples/long_lived_framework-long_lived_framework.o
rm -f examples/no_executor_framework-no_executor_framework.o
rm -f examples/test_executor-test_executor.o
rm -f examples/test_framework-test_framework.o
rm -f exec/libmesos_no_third_party_la-exec.o
rm -f exec/libmesos_no_third_party_la-exec.lo
rm -f files/libmesos_no_third_party_la-files.o
rm -f files/libmesos_no_third_party_la-files.lo
rm -f java/jni/libjava_la-construct.o
rm -f java/jni/libjava_la-construct.lo
rm -f java/jni/libjava_la-convert.o
rm -f java/jni/libjava_la-convert.lo
rm -f java/jni/libjava_la-org_apache_mesos_Log.o
rm -f java/jni/libjava_la-org_apache_mesos_Log.lo
rm -f java/jni/libjava_la-org_apache_mesos_MesosExecutorDriver.o
rm -f java/jni/libjava_la-org_apache_mesos_MesosExecutorDriver.lo
rm -f java/jni/libjava_la-org_apache_mesos_MesosSchedulerDriver.o
rm -f java/jni/libjava_la-org_apache_mesos_MesosSchedulerDriver.lo
rm -f java/jni/libjava_la-org_apache_mesos_state_Variable.o
rm -f java/jni/libjava_la-org_apache_mesos_state_Variable.lo
rm -f java/jni/libjava_la-org_apache_mesos_state_ZooKeeperState.o
rm -f java/jni/libjava_la-org_apache_mesos_state_ZooKeeperState.lo
rm -f jvm/libjava_la-jvm.o
rm -f jvm/libjava_la-jvm.lo
rm -f launcher/libmesos_no_third_party_la-launcher.o
rm -f launcher/libmesos_no_third_party_la-launcher.lo
rm -f launcher/mesos_executor-executor.o
rm -f launcher/mesos_launcher-main.o
rm -f linux/libmesos_no_third_party_la-cgroups.o
rm -f linux/libmesos_no_third_party_la-cgroups.lo
rm -f linux/libmesos_no_third_party_la-fs.o
rm -f linux/libmesos_no_third_party_la-fs.lo
rm -f linux/libmesos_no_third_party_la-proc.o
rm -f linux/libmesos_no_third_party_la-proc.lo
rm -f local/libmesos_no_third_party_la-local.o
rm -f local/libmesos_no_third_party_la-local.lo
rm -f local/mesos_local-main.o
rm -f log/liblog_la-coordinator.o
rm -f log/liblog_la-coordinator.lo
rm -f log/liblog_la-replica.o
rm -f log/liblog_la-replica.lo
rm -f log/mesos_log-main.o
rm -f logging/libmesos_no_third_party_la-logging.o
rm -f logging/libmesos_no_third_party_la-logging.lo
rm -f master/libmesos_no_third_party_la-allocator.o
rm -f master/libmesos_no_third_party_la-allocator.lo
rm -f master/libmesos_no_third_party_la-drf_sorter.o
rm -f master/libmesos_no_third_party_la-drf_sorter.lo
rm -f master/libmesos_no_third_party_la-frameworks_manager.o
rm -f master/libmesos_no_third_party_la-frameworks_manager.lo
rm -f master/libmesos_no_third_party_la-http.o
rm -f master/libmesos_no_third_party_la-http.lo
rm -f master/libmesos_no_third_party_la-master.o
rm -f master/libmesos_no_third_party_la-master.lo
rm -f master/libmesos_no_third_party_la-slaves_manager.o
rm -f master/libmesos_no_third_party_la-slaves_manager.lo
rm -f master/libwebui_la-webui.o
rm -f master/libwebui_la-webui.lo
rm -f master/mesos_master-main.o
rm -f mesos/mesos_mesos-main.o
rm -f messages/liblog_la-log.pb.o
rm -f messages/liblog_la-log.pb.lo
rm -f messages/libmesos_no_third_party_la-messages.pb.o
rm -f messages/libmesos_no_third_party_la-messages.pb.lo
rm -f messages/libstate_la-state.pb.o
rm -f messages/libstate_la-state.pb.lo
rm -f sched/libmesos_no_third_party_la-sched.o
rm -f sched/libmesos_no_third_party_la-sched.lo
rm -f slave/libmesos_no_third_party_la-cgroups_isolation_module.o
rm -f slave/libmesos_no_third_party_la-cgroups_isolation_module.lo
rm -f slave/libmesos_no_third_party_la-gc.o
rm -f slave/libmesos_no_third_party_la-gc.lo
rm -f slave/libmesos_no_third_party_la-http.o
rm -f slave/libmesos_no_third_party_la-http.lo
rm -f slave/libmesos_no_third_party_la-isolation_module.o
rm -f slave/libmesos_no_third_party_la-isolation_module.lo
rm -f slave/libmesos_no_third_party_la-lxc_isolation_module.o
rm -f slave/libmesos_no_third_party_la-lxc_isolation_module.lo
rm -f slave/libmesos_no_third_party_la-process_based_isolation_module.o
rm -f slave/libmesos_no_third_party_la-process_based_isolation_module.lo
rm -f slave/libmesos_no_third_party_la-reaper.o
rm -f slave/libmesos_no_third_party_la-reaper.lo
rm -f slave/libmesos_no_third_party_la-slave.o
rm -f slave/libmesos_no_third_party_la-slave.lo
rm -f slave/libmesos_no_third_party_la-state.o
rm -f slave/libmesos_no_third_party_la-state.lo
rm -f slave/libwebui_la-webui.o
rm -f slave/libwebui_la-webui.lo
rm -f slave/mesos_slave-main.o
rm -f state/libstate_la-leveldb.o
rm -f state/libstate_la-leveldb.lo
rm -f state/libstate_la-zookeeper.o
rm -f state/libstate_la-zookeeper.lo
rm -f tests/mesos_tests-allocator_tests.o
rm -f tests/mesos_tests-allocator_zookeeper_tests.o
rm -f tests/mesos_tests-attributes_tests.o
rm -f tests/mesos_tests-base_zookeeper_test.o
rm -f tests/mesos_tests-cgroups_isolation_tests.o
rm -f tests/mesos_tests-cgroups_tests.o
rm -f tests/mesos_tests-configurator_tests.o
rm -f tests/mesos_tests-exception_tests.o
rm -f tests/mesos_tests-external_tests.o
rm -f tests/mesos_tests-fault_tolerance_tests.o
rm -f tests/mesos_tests-files_tests.o
rm -f tests/mesos_tests-flags_tests.o
rm -f tests/mesos_tests-fs_tests.o
rm -f tests/mesos_tests-gc_tests.o
rm -f tests/mesos_tests-killtree_tests.o
rm -f tests/mesos_tests-log_tests.o
rm -f tests/mesos_tests-logging_tests.o
rm -f tests/mesos_tests-lxc_isolation_tests.o
rm -f tests/mesos_tests-main.o
rm -f tests/mesos_tests-master_detector_tests.o
rm -f tests/mesos_tests-master_tests.o
rm -f tests/mesos_tests-multihashmap_tests.o
rm -f tests/mesos_tests-proc_tests.o
rm -f tests/mesos_tests-protobuf_io_tests.o
rm -f tests/mesos_tests-resource_offers_tests.o
rm -f tests/mesos_tests-resources_tests.o
rm -f tests/mesos_tests-sample_frameworks_tests.o
rm -f tests/mesos_tests-slave_state_tests.o
rm -f tests/mesos_tests-sorter_tests.o
rm -f tests/mesos_tests-state_tests.o
rm -f tests/mesos_tests-stout_tests.o
rm -f tests/mesos_tests-utils.o
rm -f tests/mesos_tests-zookeeper_server.o
rm -f tests/mesos_tests-zookeeper_server_tests.o
rm -f tests/mesos_tests-zookeeper_tests.o
rm -f tests/mesos_tests-zookeeper_url_tests.o
rm -f webui/libwebui_la-webui.o
rm -f webui/libwebui_la-webui.lo
rm -f zookeeper/libmesos_no_third_party_la-authentication.o
rm -f zookeeper/libmesos_no_third_party_la-authentication.lo
rm -f zookeeper/libmesos_no_third_party_la-group.o
rm -f zookeeper/libmesos_no_third_party_la-group.lo
rm -f zookeeper/libmesos_no_third_party_la-zookeeper.o
rm -f zookeeper/libmesos_no_third_party_la-zookeeper.lo
rm -f *.lo
Making clean in third_party
Making clean in libprocess
Making clean in third_party
test -z "libgmock.la" || rm -f libgmock.la
rm -f "./so_locations"
rm -rf .libs _libs
rm -r -f boost-1.51.0 glog-0.3.1 gmock-1.6.0 ry-http-parser-1c3624a libev-3.8
rm -f *-stamp
test -z "libry_http_parser.la" || rm -f libry_http_parser.la
rm -f "./so_locations"
rm -f *.o
rm -f *.lo
Making clean in .
rm -f tests tests
rm -rf .libs _libs
test -z "libprocess.la" || rm -f libprocess.la
rm -f "./so_locations"
rm -f *.o
rm -f *.lo
Making clean in .
test -z "libgmock.la" || rm -f libgmock.la
rm -f "./so_locations"
rm -rf .libs _libs
rm -r -f boost-1.51.0 boto-2.0b2 distribute-0.6.26 glog-0.3.1 gmock-1.6.0 leveldb protobuf-2.4.1 zookeeper-3.3.4
rm -f *-stamp
rm -f *.o
rm -f *.lo
Making clean in .
rm -rf .libs _libs
rm -f *.lo