You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@accumulo.apache.org by David Medinets <da...@gmail.com> on 2011/12/20 20:45:17 UTC

Error reading assemblies: No assembly descriptors found.

Hi. I've just started to install Accumulo onto an EC2 instance
bootstrapped by Chef. I've run into an issue following the README
instructions at this step:

  mvn assembly:single

command. The error was

  Error reading assemblies: No assembly descriptors found.

Here are the steps that I've taken so far to setup the EC2 instance.
It took me a few hours to figure out the steps for the instance so
I'll pass them back to the community.

# These are generic values if you are in the US-East zone.
export EC2_USER=ubuntu
export IMAGE=ami-a562a9cc
export INSTANCE_TYPE=t1.micro
export REGION=us-east-1

# This is the security group at EC2. Make sure it has SSH, HTTP, and
HTTPS. Also ICMP ALL.
export GROUP=chef

# These values are specific to opscode.com. I am using the hosted chef
server option. KEYNAME
# is the name of the key-pair at EC2.
export KEYNAME=chef_ssh
export KEYFILE=~/.ssh/chef_ssh.pem

# This command starts and bootstraps the instance.
knife ec2 server create "role[ubuntu]" -I $IMAGE -f $INSTANCE_TYPE -S
$KEYNAME -i $KEYFILE --ssh-user $EC2_USER --region $REGION -G $GROUP

# After the instance is bootstrapped you'll see a bunch of detail
information. Grab the public DNS.
export EC2_HOST=<<PUBLIC DNS>>
ssh -i $KEYFILE $EC2_USER@$EC2_HOST

# Now you should be looking at the prompt on your shiny new instance.
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install git
sudo apt-get install openjdk-7-jdk
sudo update-alternatives --config java
export JAVA_HOME=/usr/lib/jvm/java-7-openjdk-i386
git clone https://github.com/apache/accumulo.git
sudo apt-get install maven2
cd accumulo
mvn package

# And here is the failing command
mvn assembly:single

And ideas how to resolve this issue?

Re: Error reading assemblies: No assembly descriptors found.

Posted by David Medinets <da...@gmail.com>.
Thanks Adam.

On Wed, Dec 21, 2011 at 1:19 PM, Adam Fuchs <ad...@ugov.gov> wrote:
> David,
>
> One additional problem you might run into with this setup is that Accumulo
> doesn't always have a stable, fully functional trunk. You might consider
> adding something like "git checkout 1.4" or "git checkout 1.3.5" after you
> "cd accumulo". The x.y.z tags are very stable (they correspond to releases),
> the x.y tags are increasingly stable over time, and trunk may be disrupted
> at any time in the process of adding big new features (e.g the README might
> not be accurate after a change to the build procedures).
>
> Adam
>
>
> On Tue, Dec 20, 2011 at 2:45 PM, David Medinets <da...@gmail.com>
> wrote:
>>
>> Hi. I've just started to install Accumulo onto an EC2 instance
>> bootstrapped by Chef. I've run into an issue following the README
>> instructions at this step:
>>
>>  mvn assembly:single
>>
>> command. The error was
>>
>>  Error reading assemblies: No assembly descriptors found.
>>
>> Here are the steps that I've taken so far to setup the EC2 instance.
>> It took me a few hours to figure out the steps for the instance so
>> I'll pass them back to the community.
>>
>> # These are generic values if you are in the US-East zone.
>> export EC2_USER=ubuntu
>> export IMAGE=ami-a562a9cc
>> export INSTANCE_TYPE=t1.micro
>> export REGION=us-east-1
>>
>> # This is the security group at EC2. Make sure it has SSH, HTTP, and
>> HTTPS. Also ICMP ALL.
>> export GROUP=chef
>>
>> # These values are specific to opscode.com. I am using the hosted chef
>> server option. KEYNAME
>> # is the name of the key-pair at EC2.
>> export KEYNAME=chef_ssh
>> export KEYFILE=~/.ssh/chef_ssh.pem
>>
>> # This command starts and bootstraps the instance.
>> knife ec2 server create "role[ubuntu]" -I $IMAGE -f $INSTANCE_TYPE -S
>> $KEYNAME -i $KEYFILE --ssh-user $EC2_USER --region $REGION -G $GROUP
>>
>> # After the instance is bootstrapped you'll see a bunch of detail
>> information. Grab the public DNS.
>> export EC2_HOST=<<PUBLIC DNS>>
>> ssh -i $KEYFILE $EC2_USER@$EC2_HOST
>>
>> # Now you should be looking at the prompt on your shiny new instance.
>> sudo apt-get update
>> sudo apt-get upgrade
>> sudo apt-get install git
>> sudo apt-get install openjdk-7-jdk
>> sudo update-alternatives --config java
>> export JAVA_HOME=/usr/lib/jvm/java-7-openjdk-i386
>> git clone https://github.com/apache/accumulo.git
>> sudo apt-get install maven2
>> cd accumulo
>> mvn package
>>
>> # And here is the failing command
>> mvn assembly:single
>>
>> And ideas how to resolve this issue?
>
>

Re: Error reading assemblies: No assembly descriptors found.

Posted by Adam Fuchs <ad...@ugov.gov>.
David,

One additional problem you might run into with this setup is that Accumulo
doesn't always have a stable, fully functional trunk. You might consider
adding something like "git checkout 1.4" or "git checkout 1.3.5" after you
"cd accumulo". The x.y.z tags are very stable (they correspond to
releases), the x.y tags are increasingly stable over time, and trunk may be
disrupted at any time in the process of adding big new features (e.g the
README might not be accurate after a change to the build procedures).

Adam


On Tue, Dec 20, 2011 at 2:45 PM, David Medinets <da...@gmail.com>wrote:

> Hi. I've just started to install Accumulo onto an EC2 instance
> bootstrapped by Chef. I've run into an issue following the README
> instructions at this step:
>
>  mvn assembly:single
>
> command. The error was
>
>  Error reading assemblies: No assembly descriptors found.
>
> Here are the steps that I've taken so far to setup the EC2 instance.
> It took me a few hours to figure out the steps for the instance so
> I'll pass them back to the community.
>
> # These are generic values if you are in the US-East zone.
> export EC2_USER=ubuntu
> export IMAGE=ami-a562a9cc
> export INSTANCE_TYPE=t1.micro
> export REGION=us-east-1
>
> # This is the security group at EC2. Make sure it has SSH, HTTP, and
> HTTPS. Also ICMP ALL.
> export GROUP=chef
>
> # These values are specific to opscode.com. I am using the hosted chef
> server option. KEYNAME
> # is the name of the key-pair at EC2.
> export KEYNAME=chef_ssh
> export KEYFILE=~/.ssh/chef_ssh.pem
>
> # This command starts and bootstraps the instance.
> knife ec2 server create "role[ubuntu]" -I $IMAGE -f $INSTANCE_TYPE -S
> $KEYNAME -i $KEYFILE --ssh-user $EC2_USER --region $REGION -G $GROUP
>
> # After the instance is bootstrapped you'll see a bunch of detail
> information. Grab the public DNS.
> export EC2_HOST=<<PUBLIC DNS>>
> ssh -i $KEYFILE $EC2_USER@$EC2_HOST
>
> # Now you should be looking at the prompt on your shiny new instance.
> sudo apt-get update
> sudo apt-get upgrade
> sudo apt-get install git
> sudo apt-get install openjdk-7-jdk
> sudo update-alternatives --config java
> export JAVA_HOME=/usr/lib/jvm/java-7-openjdk-i386
> git clone https://github.com/apache/accumulo.git
> sudo apt-get install maven2
> cd accumulo
> mvn package
>
> # And here is the failing command
> mvn assembly:single
>
> And ideas how to resolve this issue?
>

Re: Error reading assemblies: No assembly descriptors found.

Posted by John W Vines <jo...@ugov.gov>.
If using accumulo-1.3.5 or the 1.4 branch, use the command "mvn package && mvn assembly:single" to build it as per the README. If using trunk, you just need to run mvn package to build it.


Additionally, we have not run against java 7, which should have appropriate backwards compatibilities, but let us know how it goes, I'm curious.


John

----- Original Message -----
| From: "David Medinets" <da...@gmail.com>
| To: accumulo-user@incubator.apache.org
| Sent: Tuesday, December 20, 2011 2:45:17 PM
| Subject: Error reading assemblies: No assembly descriptors found.
| Hi. I've just started to install Accumulo onto an EC2 instance
| bootstrapped by Chef. I've run into an issue following the README
| instructions at this step:
| 
| mvn assembly:single
| 
| command. The error was
| 
| Error reading assemblies: No assembly descriptors found.
| 
| Here are the steps that I've taken so far to setup the EC2 instance.
| It took me a few hours to figure out the steps for the instance so
| I'll pass them back to the community.
| 
| # These are generic values if you are in the US-East zone.
| export EC2_USER=ubuntu
| export IMAGE=ami-a562a9cc
| export INSTANCE_TYPE=t1.micro
| export REGION=us-east-1
| 
| # This is the security group at EC2. Make sure it has SSH, HTTP, and
| HTTPS. Also ICMP ALL.
| export GROUP=chef
| 
| # These values are specific to opscode.com. I am using the hosted chef
| server option. KEYNAME
| # is the name of the key-pair at EC2.
| export KEYNAME=chef_ssh
| export KEYFILE=~/.ssh/chef_ssh.pem
| 
| # This command starts and bootstraps the instance.
| knife ec2 server create "role[ubuntu]" -I $IMAGE -f $INSTANCE_TYPE -S
| $KEYNAME -i $KEYFILE --ssh-user $EC2_USER --region $REGION -G $GROUP
| 
| # After the instance is bootstrapped you'll see a bunch of detail
| information. Grab the public DNS.
| export EC2_HOST=<<PUBLIC DNS>>
| ssh -i $KEYFILE $EC2_USER@$EC2_HOST
| 
| # Now you should be looking at the prompt on your shiny new instance.
| sudo apt-get update
| sudo apt-get upgrade
| sudo apt-get install git
| sudo apt-get install openjdk-7-jdk
| sudo update-alternatives --config java
| export JAVA_HOME=/usr/lib/jvm/java-7-openjdk-i386
| git clone https://github.com/apache/accumulo.git
| sudo apt-get install maven2
| cd accumulo
| mvn package
| 
| # And here is the failing command
| mvn assembly:single
| 
| And ideas how to resolve this issue?