anchor.diff:      && curl -o /tmp/sqoop-$SQOOP_VERSION-bin-hadoop200.tar.gz https://mirrors.tuna.tsinghua.edu.cn/apache/sqoop/$SQOOP_VERSION/sqoop-$SQOOP_VERSION-bin-hadoop200.tar.gz \
       && tar -xvf /tmp/sqoop-$SQOOP_VERSION-bin-hadoop200.tar.gz -C $SQOOP_HOME --strip-components=1 \
       && rm /tmp/sqoop-$SQOOP_VERSION-bin-hadoop200.tar.gz
  -
  -ENV HADOOP_HOME /usr/local/hadoop
  -ENV HADOOP_COMMON_HOME $HADOOP_HOME/share/hadoop/common
  -ENV HADOOP_HDFS_HOME $HADOOP_HOME/share/hadoop/hdfs
  -ENV HADOOP_MAPRED_HOME $HADOOP_HOME/share/hadoop/mapreduce
  -ENV HADOOP_YARN_HOME $HADOOP_HOME/share/hadoop/yarn
   
   # override the core-site
   ADD core-site.xml $HADOOP_HOME/etc/hadoop/core-site.xml
  
positive.code: 
  MAINTAINER Jiayu Liu <etareduce@gmail.com>
  
  ENV SQOOP_HOME /usr/lib/sqoop
  ENV SQOOP_VERSION 1.99.7
  
  # choose a closer mirror
  RUN mkdir -p $SQOOP_HOME \
  
negative.code: 
  EXPOSE 12000
  
  CMD sqoop2-server start && tail -f $SQOOP_HOME/@LOGDIR@/sqoop.log
  