docker image build issue for spark 0.9.1

2014-05-02 Thread Weide Zhang
Hi I tried to build docker image for spark 0.9.1 but get the following
error.

any one has experience resolving the issue ?

The following packages have unmet dependencies:
 tzdata-java : Depends: tzdata (= 2012b-1) but 2013g-0ubuntu0.12.04 is to
be installed
E: Unable to correct problems, you have held broken packages.
2014/05/02 14:16:25 The command [/bin/sh -c apt-get install -y tzdata-java
less openjdk-7-jre-headless net-tools vim-tiny sudo openssh-server]
returned a non-zero code: 100

it seems it relates with openjdk-7-jre-headless installation but i dont
know how to resolve it.

Thanks a lot,

Weide


Re: docker image build issue for spark 0.9.1

2014-05-02 Thread Weide Zhang
yes, the docker script is there inside spark source package. It already
specifies the master and worker container to run in different docker
containers. Mainly it is used for easy deployment and development in my
scenario.




On Fri, May 2, 2014 at 2:30 PM, Nicholas Chammas nicholas.cham...@gmail.com
 wrote:

 Don't have any tips for you, Weide, but I was just learning about Docker
 and it sounds very cool.

 Are you trying to build both master and worker containers that you can
 easily deploy to create a cluster? I'm interested in knowing how Docker is
 used in this case.

 Nick



 On Fri, May 2, 2014 at 5:17 PM, Weide Zhang weo...@gmail.com wrote:

 Hi I tried to build docker image for spark 0.9.1 but get the following
 error.

 any one has experience resolving the issue ?

 The following packages have unmet dependencies:
  tzdata-java : Depends: tzdata (= 2012b-1) but 2013g-0ubuntu0.12.04 is to
 be installed
 E: Unable to correct problems, you have held broken packages.
 2014/05/02 14:16:25 The command [/bin/sh -c apt-get install -y
 tzdata-java less openjdk-7-jre-headless net-tools vim-tiny sudo
 openssh-server] returned a non-zero code: 100

 it seems it relates with openjdk-7-jre-headless installation but i dont
 know how to resolve it.

 Thanks a lot,

 Weide