Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
Add Apache license header
  • Loading branch information
fangyiwang committed May 24, 2017
1 parent c971524 commit ce5d76b37c5f0e4de34529c20e9fa11c684b56f4
Showing 9 changed files with 81 additions and 341 deletions.
@@ -50,8 +50,6 @@ RUN mkdir -p /caffe-test/chukwa
RUN mkdir -p /caffe-test/tera

ADD tera.sh /caffe-test/tera/tera.sh
ADD MetricsCollector.java /caffe-test/chukwa/MetricsCollector.java
ADD caffe-testdata.tar.gz /caffe-test/train/data/

ADD makeImage.sh /caffe-test/train/makeImage.sh
ADD test_solver.prototxt /caffe-test/train/test_solver.prototxt

This file was deleted.

@@ -11,4 +11,4 @@ This file contains instruction on how to build docker image for Chukwa

- Chukwa image can be launched using:

docker run -itP -p 4080:4080 -p 50070:50070 -p 8088:8088 -p 60010:60010 chukwa/chukwa
docker run -itP -p 4080:4080 --privileged -p 50070:50070 -p 8088:8088 -p 60010:60010 chukwa/chukwa
Binary file not shown.
@@ -1,3 +1,19 @@
#!/bin/bash
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

cd /
tar zxvf glog-0.3.3.tar.gz
cd glog-0.3.3
@@ -53,7 +69,3 @@ make build
#export CORES_PER_WORKER=1
#export TOTAL_CORES=$((${CORES_PER_WORKER}*${SPARK_WORKER_INSTANCES}))
#${SPARK_HOME}/sbin/start-slave.sh -c $CORES_PER_WORKER -m 3G ${MASTER_URL}




@@ -1,6 +1,21 @@
#!/bin/bash
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

GLOG_logtostderr=1 /CaffeOnSpark/caffe-public/.build_release/tools/convert_imageset \
--resize_height=200 --resize_width=1000 --shuffle --encoded \
/caffe-test/train/data/ \
/caffe-test/train/data/labels.txt \
/caffe-test/train/lmdb

0 comments on commit ce5d76b

Please sign in to comment.