Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Accumulo >> mail # user >> My Accumulo 1.5.0 instance has no tablet servers


Copy link to this message
-
Re: My Accumulo 1.5.0 instance has no tablet servers
Yep.
On Tue, Oct 1, 2013 at 2:48 PM, Adam Fuchs <[EMAIL PROTECTED]> wrote:

> To follow up on this, I think maybe the config should be
> <name>dfs.datanode.synconclose<name>, not <name>dfs.data.synconclose<name>.
> Was that a typo, Eric?
>
> Thanks,
> Adam
>
>
>
> On Thu, Sep 12, 2013 at 2:31 PM, Eric Newton <[EMAIL PROTECTED]>wrote:
>
>> Add:
>>
>>   <property>
>>       <name>dfs.support.append</name>
>>       <value>true</value>
>>   </property>
>>   <property>
>>       <name>dfs.data.synconclose</name>
>>       <value>true</value>
>>   </property>
>>
>> To hdfs-site.xml in your hadoop configuration.
>>
>> -Eric
>>
>>
>>
>> On Thu, Sep 12, 2013 at 2:27 PM, Pete Carlson <[EMAIL PROTECTED]>wrote:
>>
>>> Ok, so now that I have an Accumulo monitor I discovered that my Accumulo
>>> instance doesn't have any tablet servers.
>>>
>>> Here is what I tried so far to resolve the issue:
>>>
>>> 1) Looked in the tserver_localhost.localdomain.log file, and found this
>>> FATAL message:
>>>
>>> 2013-09-12 08:09:42,273 [tabletserver.TabletServer] FATAL: Must set
>>> dfs.durable.sync OR dfs.support.append to true.  Which one needs to be set
>>> depends on your version of HDFS.  See ACCUMULO-623.
>>> HADOOP RELEASE          VERSION           SYNC NAME             DEFAULT
>>> Apache Hadoop           0.20.205          dfs.support.append    false
>>> Apache Hadoop            0.23.x           dfs.support.append    true
>>> Apache Hadoop             1.0.x           dfs.support.append    false
>>> Apache Hadoop             1.1.x           dfs.durable.sync      true
>>> Apache Hadoop          2.0.0-2.0.2        dfs.support.append    true
>>> Cloudera CDH             3u0-3u3             ????               true
>>> Cloudera CDH               3u4            dfs.support.append    true
>>> Hortonworks HDP           `1.0            dfs.support.append    false
>>> Hortonworks HDP           `1.1            dfs.support.append    false
>>> 2013-09-12 11:54:00,752 [server.Accumulo] INFO : tserver starting
>>> 2013-09-12 11:54:00,768 [server.Accumulo] INFO : Instance
>>> d57cdc38-8ceb-4192-9da3-1ce2664df33b
>>> 2013-09-12 11:54:00,771 [server.Accumulo] INFO : Data Version 5
>>> 2013-09-12 11:54:00,771 [server.Accumulo] INFO : Attempting to talk to
>>> zookeeper
>>> 2013-09-12 11:54:00,952 [server.Accumulo] INFO : Zookeeper connected and
>>> initialized, attemping to talk to HDFS
>>> 2013-09-12 11:54:00,956 [server.Accumulo] INFO : Connected to HDFS
>>> 2013-09-12 11:54:00,969 [server.Accumulo] INFO : gc.cycle.delay = 5m
>>> 2013-09-12 11:54:00,969 [server.Accumulo] INFO : gc.cycle.start = 30s
>>> 2013-09-12 11:54:00,969 [server.Accumulo] INFO : gc.port.client = 50091
>>> 2013-09-12 11:54:00,969 [server.Accumulo] INFO : gc.threads.delete = 16
>>> 2013-09-12 11:54:00,969 [server.Accumulo] INFO : gc.trash.ignore = false
>>>
>>> I saw this same FATAL message 8 times in the tserver_localhost.localdomain.log
>>> between blocks of INFO messages, but no other fatal or warn messages.
>>> Btw, this FATAL message also appears in my
>>> tserver_localhost.localdomain.debug.log file.
>>>
>>> When I googled this Fatal message I found this page:
>>>
>>> http://mail-archives.apache.org/mod_mbox/accumulo-user/201304.mbox/%[EMAIL PROTECTED]%3E with
>>> the same "WARN: There are no tablet servers: check that zookeeper and
>>> accumulo are running." message.
>>>
>>> I checked http://127.0.0.1:50095/tservers, and it showed that there
>>> were no tablet servers online. I looked at http://127.0.0.1:50095/log,
>>> and saw the following messages:
>>>
>>> FATAL: Must set dfs.durable.sync or dfs.support.append to true. Which
>>> one needs to be set depends on your version of HDFS. See Accumulo-623.
>>>
>>> WARN: There are no tablet servers: check that zookeeper and accumulo are
>>> running.
>>>
>>> Using the info from the page I referenced above, I checked my
>>> $ACCUMULO_HOME path and realized that I hadn't set that in the
>>> conf/accumulo-env.sh
>>>
>>> So, I set it to the following: