accumulo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From firstie lastie <firstie.las...@gmail.com>
Subject Re: VolumeUtil.removeTrailingSlash - NPE
Date Thu, 21 May 2015 20:58:28 GMT
I didn't rtfm till after I had the issue... I used the mailing list... So I
didn't do the add volume bit.

I was using the latest parcel. I am now using a 'parcel-ized' 1.6.2.

I'm not sure which issue resolved the problem.
On 21 May 2015 3:52 pm, "Sean Busbey" <busbey@cloudera.com> wrote:

>
> So that I can work through the issue, were you using the mailing list
> messages or the user guide:
>
>
> http://accumulo.apache.org/1.6/accumulo_user_manual.html#_migrating_from_non_ha_to_ha
>
>
> Could you get the specific version string off of the parcel? the only ones
> I'm aware of are:
>
> * accumulo-1.6.0-cdh5.1.0
> * accumulo-1.6.0-cdh5.1.4
>
> That latter release was March 19th. The list of upstream changes that are
> included on top of the Apache 1.6.0 are here:
>
>
> http://archive.cloudera.com/accumulo-c5/cdh/5/accumulo-1.6.0-cdh5.1.4.releasenotes.html
>
> If there's something from a later release that you'd like to see that's
> not there, I'd love to hear about it.
>
> On Thu, May 21, 2015 at 2:03 PM, firstie lastie <firstie.lastie@gmail.com>
> wrote:
>
>> New install; but originally I had setup HDFS without HA, then installed
>> accumulo, then setup HA (not the smartest, but there you go).  I noticed
>> issues with accumulo pointing to the standby namenode, so I used the
>> 'replacement' technique mentioned on this mailing list.
>>
>> This is a CM managed Accumulo cluster; I'm installing with parcels (the
>> only accumulo parcel was 1.6.0, which is why I started with it).  (The old
>> cluster is not managed with CM).
>>
>> I can't paste master and tablet server logs easily... :(
>>
>> Gist:
>>  - tabletservers (presumably the ones that have been assigned a tablet
>> from the new table, which is all of them) throw the NPE exception
>>  .... "exception trying to assign tablet <tableid>;<split key>;<split
>> key> hdfs://<nameservice>/accumulo/tables/<tableid>/...."
>>  ... "VolumeUtil.removeTrailingSlash(VolumeUtil.java:79)"
>>  - master reports that '<hostname> reports assignment failed for tablet
>> <tableid>;<split key>;<split key>
>>
>> Anyways, putting a 1.6.2 parcel out seems to have done the trick: the
>> tablets are being assigned now...
>>
>> (Maybe not the place to put it, but are you guys going to be putting out
>> new accumulo parcels?  Love CM btw, much better than what I was using
>> before [rsync/puppet/ansible + zabbix]).
>>
>> Cheers!
>>
>> On Thu, May 21, 2015 at 1:13 PM, Sean Busbey <busbey@cloudera.com> wrote:
>>
>>> If this is a new install you shouldn't need the instance.volumes.replacements
>>> value.
>>>
>>> Is this a CM managed Accumulo cluster?
>>>
>>> Could you pastebin some of the master and tabletserver logs around the
>>> time of the import and problems assigning?
>>>
>>> On Thu, May 21, 2015 at 9:27 AM, firstie lastie <
>>> firstie.lastie@gmail.com> wrote:
>>>
>>>> I've seen a bunch of tickets and issues which look similar to this;
>>>> I'll attempt to create a parcel using 1.6.2 and see if that resolves the
>>>> issue.
>>>>
>>>> On Thu, May 21, 2015 at 9:08 AM, firstie lastie <
>>>> firstie.lastie@gmail.com> wrote:
>>>>
>>>>> Hello,
>>>>>
>>>>> I'm using accumulo 1.6.0 (the cloudera [5.4.0] parcel), with multiple
>>>>> namenodes (in HA).  This is a new install, and I was trying to import
some
>>>>> tables from another install.
>>>>>
>>>>> The import completed, but none of the tablets are assigned...
>>>>>
>>>>> I'm getting the exception when trying to assign a tablet...
>>>>>
>>>>> I've configured my volumes as such:
>>>>> <property>
>>>>> <name>instance.dfs.uri</name><value>hdfs://nameservice/accumulo</value>
>>>>> </property>
>>>>>
>>>>> <property>
>>>>> <name>instance.volumes</name><value>hdfs://nameservice/accumulo</value>
>>>>> </property>
>>>>>
>>>>> <property>
>>>>> <name>instance.volumes.replacements</name><value>hdfs://oldnnhost:8020/accumulo
>>>>> hdfs://nameservice/accumulo</value>
>>>>> </property>
>>>>>
>>>>> When I do this:
>>>>> accumulo admin volumes
>>>>> I get this:
>>>>> ...
>>>>>   Volume: hdfs://nameservice/accumulo
>>>>> ...
>>>>> ...
>>>>> Listing volumes referenced in accumulo.metadata tablets section
>>>>>   Volume: RELATIVE
>>>>>   Volume: hdfs://nameservice/accumulo
>>>>>
>>>>> Can someone point me in the right direction?
>>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>> Sean
>>>
>>
>>
>
>
> --
> Sean
>

Mime
View raw message