<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.3" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>DataStax Support Forums &#187; Topic: There was a problem with the Cassandra Hive MetaStore</title>
		<link>http://www.datastax.com/support-forums/topic/there-was-a-problem-with-the-cassandra-hive-metastore</link>
		<description>Software, Support, and Training for Apache Cassandra</description>
		<language>en-US</language>
		<pubDate>Sat, 25 May 2013 17:12:22 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.3</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://www.datastax.com/support-forums/search.php</link>
		</textInput>
		<atom:link href="http://www.datastax.com/support-forums/rss/topic/there-was-a-problem-with-the-cassandra-hive-metastore" rel="self" type="application/rss+xml" />

		<item>
			<title>Yewei on "There was a problem with the Cassandra Hive MetaStore"</title>
			<link>http://www.datastax.com/support-forums/topic/there-was-a-problem-with-the-cassandra-hive-metastore#post-123</link>
			<pubDate>Thu, 26 May 2011 17:22:51 +0000</pubDate>
			<dc:creator>Yewei</dc:creator>
			<guid isPermaLink="false">123@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Glad that you got it work. Let us know if you need any further help.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Prosperent on "There was a problem with the Cassandra Hive MetaStore"</title>
			<link>http://www.datastax.com/support-forums/topic/there-was-a-problem-with-the-cassandra-hive-metastore#post-121</link>
			<pubDate>Thu, 26 May 2011 15:45:04 +0000</pubDate>
			<dc:creator>Prosperent</dc:creator>
			<guid isPermaLink="false">121@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Got it working by adding a second hostname entry to the hosts file for the private lan. Somewhere mapreduce internally uses the hostname for the connections, and since our hostname was bound to our public ip, it wasn't able to route through the private lan. So, if anyone has dual nic's with a private and public lan, there is your solution. &#60;/p&#62;
&#60;p&#62;Thank you guys for the tips and help :)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Prosperent on "There was a problem with the Cassandra Hive MetaStore"</title>
			<link>http://www.datastax.com/support-forums/topic/there-was-a-problem-with-the-cassandra-hive-metastore#post-114</link>
			<pubDate>Wed, 25 May 2011 20:42:21 +0000</pubDate>
			<dc:creator>Prosperent</dc:creator>
			<guid isPermaLink="false">114@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;I think the issue is that it is using the hostname for some reason, but the cassandra servers communicate over our private lan. Nothing else seems to have a problem figuring that out, but the reduce portion of map reduce is using the host name instead of our 10.17.91.xxx private lan addresses that are configured everywhere. Even doing a hostname -f at the command line gives me the proper FQDN that resolves to our server, but it resolves to our public network, not the private lan that cassandra is configured to communicate across. Does that make sense?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>tjake on "There was a problem with the Cassandra Hive MetaStore"</title>
			<link>http://www.datastax.com/support-forums/topic/there-was-a-problem-with-the-cassandra-hive-metastore#post-112</link>
			<pubDate>Wed, 25 May 2011 19:08:43 +0000</pubDate>
			<dc:creator>tjake</dc:creator>
			<guid isPermaLink="false">112@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Looks like there is somthing wrong with your DNS:&#60;/p&#62;
&#60;p&#62;java.net.UnknownHostException: cass02
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Prosperent on "There was a problem with the Cassandra Hive MetaStore"</title>
			<link>http://www.datastax.com/support-forums/topic/there-was-a-problem-with-the-cassandra-hive-metastore#post-107</link>
			<pubDate>Wed, 25 May 2011 15:17:16 +0000</pubDate>
			<dc:creator>Prosperent</dc:creator>
			<guid isPermaLink="false">107@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;To answer the other questions asked above, running : nodetool -h 10.17.91.132 ring returns the expected data:&#60;/p&#62;
&#60;p&#62;10.17.91.132    Up     Normal  118.84 MB       33.33%  0&#60;br /&#62;
10.17.91.140    Up     Normal  119.3 MB        33.33%  56713727820156410577229101238628035242&#60;br /&#62;
10.17.91.138    Up     Normal  116.8 MB        33.33%  113427455640312821154458202477256070485&#60;/p&#62;
&#60;p&#62;I run brisk hive simply as:    brisk hive -f demos/portfolio_manager/10_day_loss.q&#60;/p&#62;
&#60;p&#62;Which runs the map process with no issues, but fails when it hits reduce.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Prosperent on "There was a problem with the Cassandra Hive MetaStore"</title>
			<link>http://www.datastax.com/support-forums/topic/there-was-a-problem-with-the-cassandra-hive-metastore#post-106</link>
			<pubDate>Wed, 25 May 2011 14:19:32 +0000</pubDate>
			<dc:creator>Prosperent</dc:creator>
			<guid isPermaLink="false">106@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Still getting the issue with map running and completing, but reduce fails with connection issues:&#60;/p&#62;
&#60;p&#62;2011-05-25 09:11:33,879 Stage-1 map = 0%,  reduce = 0%&#60;br /&#62;
2011-05-25 09:11:39,990 Stage-1 map = 33%,  reduce = 0%&#60;br /&#62;
2011-05-25 09:11:41,041 Stage-1 map = 67%,  reduce = 0%&#60;br /&#62;
2011-05-25 09:11:45,105 Stage-1 map = 100%,  reduce = 0%&#60;br /&#62;
2011-05-25 09:11:49,128 Stage-1 map = 100%,  reduce = 11%&#60;br /&#62;
2011-05-25 09:11:58,177 Stage-1 map = 100%,  reduce = 0%&#60;br /&#62;
2011-05-25 09:12:11,264 Stage-1 map = 100%,  reduce = 11%&#60;br /&#62;
2011-05-25 09:12:14,280 Stage-1 map = 100%,  reduce = 0%&#60;br /&#62;
2011-05-25 09:12:27,363 Stage-1 map = 100%,  reduce = 11%&#60;br /&#62;
2011-05-25 09:12:30,391 Stage-1 map = 100%,  reduce = 0%&#60;br /&#62;
2011-05-25 09:12:42,496 Stage-1 map = 100%,  reduce = 11%&#60;br /&#62;
2011-05-25 09:12:45,512 Stage-1 map = 100%,  reduce = 0%&#60;br /&#62;
2011-05-25 09:12:50,586 Stage-1 map = 100%,  reduce = 100%&#60;br /&#62;
Ended Job = job_201105241523_0004 with errors&#60;br /&#62;
FAILED: Execution Error, return code 2 from org.apache.hadoop.hive.ql.exec.MapRedTask&#60;br /&#62;
root@cass01:/usr/share/brisk-demos/portfolio_manager#&#60;/p&#62;
&#60;p&#62;We have 3 brisk nodes connected by a private lan on a 10.17.91.xxx subnet. We've been running these for over a year now, so there are no communication problems between the nodes. It appears from the hadoop logs that it is trying to connect to the nodes by a partial hostname. I see cass01, cass02, and cass03 which is the first part of our host name for each server with the domain cut off. We don't have that configured anywhere in our cassandra config.yaml. here is our config file:&#60;/p&#62;
&#60;p&#62;# Cassandra storage config YAML &#60;/p&#62;
&#60;p&#62;# NOTE:&#60;br /&#62;
#   See &#60;a href=&#34;http://wiki.apache.org/cassandra/StorageConfiguration&#34; rel=&#34;nofollow&#34;&#62;http://wiki.apache.org/cassandra/StorageConfiguration&#60;/a&#62; for&#60;br /&#62;
#   full explanations of configuration directives&#60;br /&#62;
# /NOTE&#60;/p&#62;
&#60;p&#62;# The name of the cluster. This is mainly used to prevent machines in&#60;br /&#62;
# one logical cluster from joining another.&#60;br /&#62;
cluster_name: 'Prosperent'&#60;/p&#62;
&#60;p&#62;# You should always specify InitialToken when setting up a production&#60;br /&#62;
# cluster for the first time, and often when adding capacity later.&#60;br /&#62;
# The principle is that each node should be given an equal slice of&#60;br /&#62;
# the token ring; see &#60;a href=&#34;http://wiki.apache.org/cassandra/Operations&#34; rel=&#34;nofollow&#34;&#62;http://wiki.apache.org/cassandra/Operations&#60;/a&#62;&#60;br /&#62;
# for more details.&#60;br /&#62;
#&#60;br /&#62;
# If blank, Cassandra will request a token bisecting the range of&#60;br /&#62;
# the heaviest-loaded existing node.  If there is no load information&#60;br /&#62;
# available, such as is the case with a new cluster, it will pick&#60;br /&#62;
# a random token, which will lead to hot spots.&#60;br /&#62;
initial_token: 0&#60;/p&#62;
&#60;p&#62;# Set to true to make new [non-seed] nodes automatically migrate data&#60;br /&#62;
# to themselves from the pre-existing nodes in the cluster.  Defaults&#60;br /&#62;
# to false because you can only bootstrap N machines at a time from&#60;br /&#62;
# an existing cluster of N, so if you are bringing up a cluster of&#60;br /&#62;
# 10 machines with 3 seeds you would have to do it in stages.  Leaving&#60;br /&#62;
# this off for the initial start simplifies that.&#60;br /&#62;
auto_bootstrap: false&#60;/p&#62;
&#60;p&#62;# See &#60;a href=&#34;http://wiki.apache.org/cassandra/HintedHandoff&#34; rel=&#34;nofollow&#34;&#62;http://wiki.apache.org/cassandra/HintedHandoff&#60;/a&#62;&#60;br /&#62;
hinted_handoff_enabled: true&#60;br /&#62;
# this defines the maximum amount of time a dead host will have hints&#60;br /&#62;
# generated.  After it has been dead this long, hints will be dropped.&#60;br /&#62;
max_hint_window_in_ms: 3600000 # one hour&#60;br /&#62;
# Sleep this long after delivering each row or row fragment&#60;br /&#62;
hinted_handoff_throttle_delay_in_ms: 50&#60;/p&#62;
&#60;p&#62;# authentication backend, implementing IAuthenticator; used to identify users&#60;br /&#62;
authenticator: org.apache.cassandra.auth.AllowAllAuthenticator&#60;/p&#62;
&#60;p&#62;# authorization backend, implementing IAuthority; used to limit access/provide permissions&#60;br /&#62;
authority: org.apache.cassandra.auth.AllowAllAuthority&#60;/p&#62;
&#60;p&#62;# The partitioner is responsible for distributing rows (by key) across&#60;br /&#62;
# nodes in the cluster.  Any IPartitioner may be used, including your&#60;br /&#62;
# own as long as it is on the classpath.  Out of the box, Cassandra&#60;br /&#62;
# provides org.apache.cassandra.dht.RandomPartitioner&#60;br /&#62;
# org.apache.cassandra.dht.ByteOrderedPartitioner,&#60;br /&#62;
# org.apache.cassandra.dht.OrderPreservingPartitioner (deprecated),&#60;br /&#62;
# and org.apache.cassandra.dht.CollatingOrderPreservingPartitioner&#60;br /&#62;
# (deprecated).&#60;br /&#62;
#&#60;br /&#62;
# - RandomPartitioner distributes rows across the cluster evenly by md5.&#60;br /&#62;
#   When in doubt, this is the best option.&#60;br /&#62;
# - ByteOrderedPartitioner orders rows lexically by key bytes.  BOP allows&#60;br /&#62;
#   scanning rows in key order, but the ordering can generate hot spots&#60;br /&#62;
#   for sequential insertion workloads.&#60;br /&#62;
# - OrderPreservingPartitioner is an obsolete form of BOP, that stores&#60;br /&#62;
# - keys in a less-efficient format and only works with keys that are&#60;br /&#62;
#   UTF8-encoded Strings.&#60;br /&#62;
# - CollatingOPP colates according to EN,US rules rather than lexical byte&#60;br /&#62;
#   ordering.  Use this as an example if you need custom collation.&#60;br /&#62;
#&#60;br /&#62;
# See &#60;a href=&#34;http://wiki.apache.org/cassandra/Operations&#34; rel=&#34;nofollow&#34;&#62;http://wiki.apache.org/cassandra/Operations&#60;/a&#62; for more on&#60;br /&#62;
# partitioners and token selection.&#60;br /&#62;
partitioner: org.apache.cassandra.dht.RandomPartitioner&#60;/p&#62;
&#60;p&#62;# directories where Cassandra should store data on disk.&#60;br /&#62;
data_file_directories:&#60;br /&#62;
    - /data&#60;/p&#62;
&#60;p&#62;# commit log&#60;br /&#62;
commitlog_directory: /var/lib/cassandra/commitlog&#60;/p&#62;
&#60;p&#62;# saved caches&#60;br /&#62;
saved_caches_directory: /data/saved_caches&#60;/p&#62;
&#60;p&#62;# Size to allow commitlog to grow to before creating a new segment&#60;br /&#62;
commitlog_rotation_threshold_in_mb: 128&#60;/p&#62;
&#60;p&#62;# commitlog_sync may be either &#34;periodic&#34; or &#34;batch.&#34;&#60;br /&#62;
# When in batch mode, Cassandra won't ack writes until the commit log&#60;br /&#62;
# has been fsynced to disk.  It will wait up to&#60;br /&#62;
# CommitLogSyncBatchWindowInMS milliseconds for other writes, before&#60;br /&#62;
# performing the sync.&#60;br /&#62;
commitlog_sync: periodic&#60;/p&#62;
&#60;p&#62;# the other option is &#34;periodic&#34; where writes may be acked immediately&#60;br /&#62;
# and the CommitLog is simply synced every commitlog_sync_period_in_ms&#60;br /&#62;
# milliseconds.&#60;br /&#62;
commitlog_sync_period_in_ms: 10000&#60;/p&#62;
&#60;p&#62;# any class that implements the SeedProvider interface and has a constructor that takes a Map&#38;lt;String, String&#38;gt; of&#60;br /&#62;
# parameters will do.&#60;br /&#62;
seed_provider:&#60;br /&#62;
    # Addresses of hosts that are deemed contact points.&#60;br /&#62;
    # Cassandra nodes use this list of hosts to find each other and learn&#60;br /&#62;
    # the topology of the ring.  You must change this if you are running&#60;br /&#62;
    # multiple nodes!&#60;br /&#62;
    - class_name: org.apache.cassandra.locator.SimpleSeedProvider&#60;br /&#62;
      parameters:&#60;br /&#62;
          # seeds is actually a comma-delimited list of addresses.&#60;br /&#62;
          - seeds: &#34;10.17.91.132,10.17.91.140,10.17.91.138&#34;&#60;/p&#62;
&#60;p&#62;# emergency pressure valve: each time heap usage after a full (CMS)&#60;br /&#62;
# garbage collection is above this fraction of the max, Cassandra will&#60;br /&#62;
# flush the largest memtables.&#60;br /&#62;
#&#60;br /&#62;
# Set to 1.0 to disable.  Setting this lower than&#60;br /&#62;
# CMSInitiatingOccupancyFraction is not likely to be useful.&#60;br /&#62;
#&#60;br /&#62;
# RELYING ON THIS AS YOUR PRIMARY TUNING MECHANISM WILL WORK POORLY:&#60;br /&#62;
# it is most effective under light to moderate load, or read-heavy&#60;br /&#62;
# workloads; under truly massive write load, it will often be too&#60;br /&#62;
# little, too late.&#60;br /&#62;
flush_largest_memtables_at: 0.75&#60;/p&#62;
&#60;p&#62;# emergency pressure valve #2: the first time heap usage after a full&#60;br /&#62;
# (CMS) garbage collection is above this fraction of the max,&#60;br /&#62;
# Cassandra will reduce cache maximum _capacity_ to the given fraction&#60;br /&#62;
# of the current _size_.  Should usually be set substantially above&#60;br /&#62;
# flush_largest_memtables_at, since that will have less long-term&#60;br /&#62;
# impact on the system.&#60;br /&#62;
#&#60;br /&#62;
# Set to 1.0 to disable.  Setting this lower than&#60;br /&#62;
# CMSInitiatingOccupancyFraction is not likely to be useful.&#60;br /&#62;
reduce_cache_sizes_at: 0.85&#60;br /&#62;
reduce_cache_capacity_to: 0.6&#60;/p&#62;
&#60;p&#62;# For workloads with more data than can fit in memory, Cassandra's&#60;br /&#62;
# bottleneck will be reads that need to fetch data from&#60;br /&#62;
# disk. &#34;concurrent_reads&#34; should be set to (16 * number_of_drives) in&#60;br /&#62;
# order to allow the operations to enqueue low enough in the stack&#60;br /&#62;
# that the OS and drives can reorder them.&#60;br /&#62;
#&#60;br /&#62;
# On the other hand, since writes are almost never IO bound, the ideal&#60;br /&#62;
# number of &#34;concurrent_writes&#34; is dependent on the number of cores in&#60;br /&#62;
# your system; (8 * number_of_cores) is a good rule of thumb.&#60;br /&#62;
concurrent_reads: 512&#60;br /&#62;
concurrent_writes: 128&#60;/p&#62;
&#60;p&#62;# Total memory to use for memtables.  Cassandra will flush the largest&#60;br /&#62;
# memtable when this much memory is used.  Prefer using this to&#60;br /&#62;
# the older, per-ColumnFamily memtable flush thresholds.&#60;br /&#62;
# If omitted, Cassandra will set it to 1/3 of the heap.&#60;br /&#62;
# If set to 0, only the old flush thresholds are used.&#60;br /&#62;
# memtable_total_space_in_mb: 2048&#60;/p&#62;
&#60;p&#62;# This sets the amount of memtable flush writer threads.  These will&#60;br /&#62;
# be blocked by disk io, and each one will hold a memtable in memory&#60;br /&#62;
# while blocked. If you have a large heap and many data directories,&#60;br /&#62;
# you can increase this value for better flush performance.&#60;br /&#62;
# By default this will be set to the amount of data directories defined.&#60;br /&#62;
#memtable_flush_writers: 1&#60;/p&#62;
&#60;p&#62;# the number of full memtables to allow pending flush, that is,&#60;br /&#62;
# waiting for a writer thread.  At a minimum, this should be set to&#60;br /&#62;
# the maximum number of secondary indexes created on a single CF.&#60;br /&#62;
memtable_flush_queue_size: 4&#60;/p&#62;
&#60;p&#62;# Buffer size to use when performing contiguous column slices.&#60;br /&#62;
# Increase this to the size of the column slices you typically perform&#60;br /&#62;
sliced_buffer_size_in_kb: 64&#60;/p&#62;
&#60;p&#62;# TCP port, for commands and data&#60;br /&#62;
storage_port: 7000&#60;/p&#62;
&#60;p&#62;# Address to bind to and tell other Cassandra nodes to connect to. You&#60;br /&#62;
# _must_ change this if you want multiple nodes to be able to&#60;br /&#62;
# communicate!&#60;br /&#62;
#&#60;br /&#62;
# Leaving it blank leaves it up to InetAddress.getLocalHost(). This&#60;br /&#62;
# will always do the Right Thing *if* the node is properly configured&#60;br /&#62;
# (hostname, name resolution, etc), and the Right Thing is to use the&#60;br /&#62;
# address associated with the hostname (it might not be).&#60;br /&#62;
#&#60;br /&#62;
# Setting this to 0.0.0.0 is always wrong.&#60;br /&#62;
listen_address: 10.17.91.132&#60;/p&#62;
&#60;p&#62;# The address to bind the Thrift RPC service to -- clients connect&#60;br /&#62;
# here. Unlike ListenAddress above, you *can* specify 0.0.0.0 here if&#60;br /&#62;
# you want Thrift to listen on all interfaces.&#60;br /&#62;
#&#60;br /&#62;
# Leaving this blank has the same effect it does for ListenAddress,&#60;br /&#62;
# (i.e. it will be based on the configured hostname of the node).&#60;br /&#62;
rpc_address: 0.0.0.0&#60;br /&#62;
# port for Thrift to listen for clients on&#60;br /&#62;
rpc_port: 9160&#60;/p&#62;
&#60;p&#62;# enable or disable keepalive on rpc connections&#60;br /&#62;
rpc_keepalive: true&#60;/p&#62;
&#60;p&#62;# Cassandra uses thread-per-client for client RPC.  This can&#60;br /&#62;
# be expensive in memory used for thread stack for a large&#60;br /&#62;
# enough number of clients.  (Hence, connection pooling is&#60;br /&#62;
# very, very strongly recommended.)&#60;br /&#62;
#&#60;br /&#62;
# Uncomment rpc_min&#124;max&#124;thread to set request pool size.&#60;br /&#62;
# You would primarily set max as a safeguard against misbehaved&#60;br /&#62;
# clients; if you do hit the max, Cassandra will block until&#60;br /&#62;
# one disconnects before accepting more.  The defaults are&#60;br /&#62;
# min of 16 and max unlimited.&#60;br /&#62;
#&#60;br /&#62;
# rpc_min_threads: 16&#60;br /&#62;
# rpc_max_threads: 2048&#60;/p&#62;
&#60;p&#62;# uncomment to set socket buffer sizes on rpc connections&#60;br /&#62;
# rpc_send_buff_size_in_bytes:&#60;br /&#62;
# rpc_recv_buff_size_in_bytes:&#60;/p&#62;
&#60;p&#62;# Frame size for thrift (maximum field length).&#60;br /&#62;
# 0 disables TFramedTransport in favor of TSocket. This option&#60;br /&#62;
# is deprecated; we strongly recommend using Framed mode.&#60;br /&#62;
thrift_framed_transport_size_in_mb: 15&#60;/p&#62;
&#60;p&#62;# The max length of a thrift message, including all fields and&#60;br /&#62;
# internal thrift overhead.&#60;br /&#62;
thrift_max_message_length_in_mb: 16&#60;/p&#62;
&#60;p&#62;# Set to true to have Cassandra create a hard link to each sstable&#60;br /&#62;
# flushed or streamed locally in a backups/ subdirectory of the&#60;br /&#62;
# Keyspace data.  Removing these links is the operator's&#60;br /&#62;
# responsibility.&#60;br /&#62;
incremental_backups: false&#60;/p&#62;
&#60;p&#62;# Whether or not to take a snapshot before each compaction.  Be&#60;br /&#62;
# careful using this option, since Cassandra won't clean up the&#60;br /&#62;
# snapshots for you.  Mostly useful if you're paranoid when there&#60;br /&#62;
# is a data format change.&#60;br /&#62;
snapshot_before_compaction: false&#60;/p&#62;
&#60;p&#62;# change this to increase the compaction thread's priority.  In java, 1 is the&#60;br /&#62;
# lowest priority and that is our default.&#60;br /&#62;
# compaction_thread_priority: 1&#60;/p&#62;
&#60;p&#62;# Add column indexes to a row after its contents reach this size.&#60;br /&#62;
# Increase if your column values are large, or if you have a very large&#60;br /&#62;
# number of columns.  The competing causes are, Cassandra has to&#60;br /&#62;
# deserialize this much of the row to read a single column, so you want&#60;br /&#62;
# it to be small - at least if you do many partial-row reads - but all&#60;br /&#62;
# the index data is read for each access, so you don't want to generate&#60;br /&#62;
# that wastefully either.&#60;br /&#62;
column_index_size_in_kb: 64&#60;/p&#62;
&#60;p&#62;# Size limit for rows being compacted in memory.  Larger rows will spill&#60;br /&#62;
# over to disk and use a slower two-pass compaction process.  A message&#60;br /&#62;
# will be logged specifying the row key.&#60;br /&#62;
in_memory_compaction_limit_in_mb: 64&#60;/p&#62;
&#60;p&#62;# Number of compaction threads. This default to the number of processors,&#60;br /&#62;
# enabling multiple compactions to execute at once. Using more than one&#60;br /&#62;
# thread is highly recommended to preserve read performance in a mixed&#60;br /&#62;
# read/write workload as this avoids sstables from accumulating during long&#60;br /&#62;
# running compactions. The default is usually fine and if you experience&#60;br /&#62;
# problems with compaction running too slowly or too fast, you should look at&#60;br /&#62;
# compaction_throughput_mb_per_sec first.&#60;br /&#62;
# Uncomment to make compaction mono-threaded.&#60;br /&#62;
#concurrent_compactors: 1&#60;/p&#62;
&#60;p&#62;# Throttles compaction to the given total throughput across the entire&#60;br /&#62;
# system. The faster you insert data, the faster you need to compact in&#60;br /&#62;
# order to keep the sstable count down, but in general, setting this to&#60;br /&#62;
# 16 to 32 times the rate you are inserting data is more than sufficient.&#60;br /&#62;
# Setting this to 0 disables throttling.&#60;br /&#62;
compaction_throughput_mb_per_sec: 0&#60;/p&#62;
&#60;p&#62;# Track cached row keys during compaction, and re-cache their new&#60;br /&#62;
# positions in the compacted sstable.  Disable if you use really large&#60;br /&#62;
# key caches.&#60;br /&#62;
compaction_preheat_key_cache: true&#60;/p&#62;
&#60;p&#62;# Time to wait for a reply from other nodes before failing the command&#60;br /&#62;
rpc_timeout_in_ms: 10000&#60;/p&#62;
&#60;p&#62;# phi value that must be reached for a host to be marked down.&#60;br /&#62;
# most users should never need to adjust this.&#60;br /&#62;
# phi_convict_threshold: 8&#60;/p&#62;
&#60;p&#62;# endpoint_snitch -- Set this to a class that implements&#60;br /&#62;
# IEndpointSnitch, which will let Cassandra know enough&#60;br /&#62;
# about your network topology to route requests efficiently.&#60;br /&#62;
# Out of the box, Cassandra provides&#60;br /&#62;
#  - org.apache.cassandra.locator.SimpleSnitch:&#60;br /&#62;
#    Treats Strategy order as proximity. This improves cache locality&#60;br /&#62;
#    when disabling read repair, which can further improve throughput.&#60;br /&#62;
#  - org.apache.cassandra.locator.RackInferringSnitch:&#60;br /&#62;
#    Proximity is determined by rack and data center, which are&#60;br /&#62;
#    assumed to correspond to the 3rd and 2nd octet of each node's&#60;br /&#62;
#    IP address, respectively&#60;br /&#62;
# org.apache.cassandra.locator.PropertyFileSnitch:&#60;br /&#62;
#  - Proximity is determined by rack and data center, which are&#60;br /&#62;
#    explicitly configured in cassandra-topology.properties.&#60;br /&#62;
endpoint_snitch: org.apache.cassandra.locator.BriskSimpleSnitch&#60;/p&#62;
&#60;p&#62;# dynamic_snitch -- This boolean controls whether the above snitch is&#60;br /&#62;
# wrapped with a dynamic snitch, which will monitor read latencies&#60;br /&#62;
# and avoid reading from hosts that have slowed (due to compaction,&#60;br /&#62;
# for instance)&#60;br /&#62;
dynamic_snitch: true&#60;br /&#62;
# controls how often to perform the more expensive part of host score&#60;br /&#62;
# calculation&#60;br /&#62;
dynamic_snitch_update_interval_in_ms: 100&#60;br /&#62;
# controls how often to reset all host scores, allowing a bad host to&#60;br /&#62;
# possibly recover&#60;br /&#62;
dynamic_snitch_reset_interval_in_ms: 600000&#60;br /&#62;
# if set greater than zero and read_repair_chance is &#38;lt; 1.0, this will allow&#60;br /&#62;
# 'pinning' of replicas to hosts in order to increase cache capacity.&#60;br /&#62;
# The badness threshold will control how much worse the pinned host has to be&#60;br /&#62;
# before the dynamic snitch will prefer other replicas over it.  This is&#60;br /&#62;
# expressed as a double which represents a percentage.  Thus, a value of&#60;br /&#62;
# 0.2 means Cassandra would continue to prefer the static snitch values&#60;br /&#62;
# until the pinned host was 20% worse than the fastest.&#60;br /&#62;
dynamic_snitch_badness_threshold: 0.0&#60;/p&#62;
&#60;p&#62;# request_scheduler -- Set this to a class that implements&#60;br /&#62;
# RequestScheduler, which will schedule incoming client requests&#60;br /&#62;
# according to the specific policy. This is useful for multi-tenancy&#60;br /&#62;
# with a single Cassandra cluster.&#60;br /&#62;
# NOTE: This is specifically for requests from the client and does&#60;br /&#62;
# not affect inter node communication.&#60;br /&#62;
# org.apache.cassandra.scheduler.NoScheduler - No scheduling takes place&#60;br /&#62;
# org.apache.cassandra.scheduler.RoundRobinScheduler - Round robin of&#60;br /&#62;
# client requests to a node with a separate queue for each&#60;br /&#62;
# request_scheduler_id. The scheduler is further customized by&#60;br /&#62;
# request_scheduler_options as described below.&#60;br /&#62;
request_scheduler: org.apache.cassandra.scheduler.NoScheduler&#60;/p&#62;
&#60;p&#62;# Scheduler Options vary based on the type of scheduler&#60;br /&#62;
# NoScheduler - Has no options&#60;br /&#62;
# RoundRobin&#60;br /&#62;
#  - throttle_limit -- The throttle_limit is the number of in-flight&#60;br /&#62;
#                      requests per client.  Requests beyond&#60;br /&#62;
#                      that limit are queued up until&#60;br /&#62;
#                      running requests can complete.&#60;br /&#62;
#                      The value of 80 here is twice the number of&#60;br /&#62;
#                      concurrent_reads + concurrent_writes.&#60;br /&#62;
#  - default_weight -- default_weight is optional and allows for&#60;br /&#62;
#                      overriding the default which is 1.&#60;br /&#62;
#  - weights -- Weights are optional and will default to 1 or the&#60;br /&#62;
#               overridden default_weight. The weight translates into how&#60;br /&#62;
#               many requests are handled during each turn of the&#60;br /&#62;
#               RoundRobin, based on the scheduler id.&#60;br /&#62;
#&#60;br /&#62;
# request_scheduler_options:&#60;br /&#62;
#    throttle_limit: 80&#60;br /&#62;
#    default_weight: 5&#60;br /&#62;
#    weights:&#60;br /&#62;
#      Keyspace1: 1&#60;br /&#62;
#      Keyspace2: 5&#60;/p&#62;
&#60;p&#62;# request_scheduler_id -- An identifer based on which to perform&#60;br /&#62;
# the request scheduling. Currently the only valid option is keyspace.&#60;br /&#62;
# request_scheduler_id: keyspace&#60;/p&#62;
&#60;p&#62;# The Index Interval determines how large the sampling of row keys&#60;br /&#62;
#  is for a given SSTable. The larger the sampling, the more effective&#60;br /&#62;
#  the index is at the cost of space.&#60;br /&#62;
index_interval: 128&#60;/p&#62;
&#60;p&#62;# Enable or disable inter-node encryption&#60;br /&#62;
# Default settings are TLS v1, RSA 1024-bit keys (it is imperative that&#60;br /&#62;
# users generate their own keys) TLS_RSA_WITH_AES_128_CBC_SHA as the cipher&#60;br /&#62;
# suite for authentication, key exchange and encryption of the actual data transfers.&#60;br /&#62;
# NOTE: No custom encryption options are enabled at the moment&#60;br /&#62;
# The available internode options are : all, none&#60;br /&#62;
#&#60;br /&#62;
# The passwords used in these options must match the passwords used when generating&#60;br /&#62;
# the keystore and truststore.  For instructions on generating these files, see:&#60;br /&#62;
# &#60;a href=&#34;http://download.oracle.com/javase/6/docs/technotes/guides/security/jsse/JSSERefGuide.html#CreateKeystore&#34; rel=&#34;nofollow&#34;&#62;http://download.oracle.com/javase/6/docs/technotes/guides/security/jsse/JSSERefGuide.html#CreateKeystore&#60;/a&#62;&#60;br /&#62;
encryption_options:&#60;br /&#62;
    internode_encryption: none&#60;br /&#62;
    keystore: conf/.keystore&#60;br /&#62;
    keystore_password: cassandra&#60;br /&#62;
    truststore: conf/.truststore&#60;br /&#62;
    truststore_password: cassandra&#60;/p&#62;
&#60;p&#62;Here is what we have in the syslog for that hadoop job:&#60;/p&#62;
&#60;p&#62;2011-05-25 09:12:18,364 INFO org.apache.hadoop.mapred.TaskRunner: Creating symlink: /tmp/hadoop-cassandra/mapred/local/taskTracker/distcache/6439118782556776681_-344378518_662629255/null/tmp/hive-root/hive_2011-05-25_09-11-25_939_4145824745557183039/-mr-10003/2afcfc94-f85a-40ca-9695-b8d977a2d619 &#38;lt;- /tmp/hadoop-cassandra/mapred/local/taskTracker/root/jobcache/job_201105241523_0004/attempt_201105241523_0004_r_000000_2/work/HIVE_PLAN2afcfc94-f85a-40ca-9695-b8d977a2d619&#60;br /&#62;
2011-05-25 09:12:18,371 INFO org.apache.hadoop.filecache.TrackerDistributedCacheManager: Creating symlink: /tmp/hadoop-cassandra/mapred/local/taskTracker/root/jobcache/job_201105241523_0004/jars/.job.jar.crc &#38;lt;- /tmp/hadoop-cassandra/mapred/local/taskTracker/root/jobcache/job_201105241523_0004/attempt_201105241523_0004_r_000000_2/work/.job.jar.crc&#60;br /&#62;
2011-05-25 09:12:18,372 INFO org.apache.hadoop.filecache.TrackerDistributedCacheManager: Creating symlink: /tmp/hadoop-cassandra/mapred/local/taskTracker/root/jobcache/job_201105241523_0004/jars/job.jar &#38;lt;- /tmp/hadoop-cassandra/mapred/local/taskTracker/root/jobcache/job_201105241523_0004/attempt_201105241523_0004_r_000000_2/work/job.jar&#60;br /&#62;
2011-05-25 09:12:18,374 INFO org.apache.hadoop.filecache.TrackerDistributedCacheManager: Creating symlink: /tmp/hadoop-cassandra/mapred/local/taskTracker/root/jobcache/job_201105241523_0004/jars/org &#38;lt;- /tmp/hadoop-cassandra/mapred/local/taskTracker/root/jobcache/job_201105241523_0004/attempt_201105241523_0004_r_000000_2/work/org&#60;br /&#62;
2011-05-25 09:12:18,376 INFO org.apache.hadoop.filecache.TrackerDistributedCacheManager: Creating symlink: /tmp/hadoop-cassandra/mapred/local/taskTracker/root/jobcache/job_201105241523_0004/jars/META-INF &#38;lt;- /tmp/hadoop-cassandra/mapred/local/taskTracker/root/jobcache/job_201105241523_0004/attempt_201105241523_0004_r_000000_2/work/META-INF&#60;br /&#62;
2011-05-25 09:12:18,384 WARN org.apache.hadoop.util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable&#60;br /&#62;
2011-05-25 09:12:18,477 WARN org.apache.hadoop.metrics2.impl.MetricsSystemImpl: Metrics system not started: Cannot locate configuration: tried hadoop-metrics2-reducetask.properties, hadoop-metrics2.properties&#60;br /&#62;
2011-05-25 09:12:18,596 INFO org.apache.cassandra.config.DatabaseDescriptor: Loading settings from file:/etc/brisk/cassandra/cassandra.yaml&#60;br /&#62;
2011-05-25 09:12:18,711 INFO org.apache.cassandra.config.DatabaseDescriptor: DiskAccessMode 'auto' determined to be mmap, indexAccessMode is mmap&#60;br /&#62;
2011-05-25 09:12:18,874 INFO org.apache.hadoop.mapred.ReduceTask: ShuffleRamManager: MemoryLimit=167031600, MaxSingleShuffleLimit=41757900&#60;br /&#62;
2011-05-25 09:12:18,881 INFO org.apache.hadoop.mapred.ReduceTask: attempt_201105241523_0004_r_000000_2 Thread started: Thread for merging on-disk files&#60;br /&#62;
2011-05-25 09:12:18,881 INFO org.apache.hadoop.mapred.ReduceTask: attempt_201105241523_0004_r_000000_2 Thread started: Thread for merging in memory files&#60;br /&#62;
2011-05-25 09:12:18,881 INFO org.apache.hadoop.mapred.ReduceTask: attempt_201105241523_0004_r_000000_2 Thread waiting: Thread for merging on-disk files&#60;br /&#62;
2011-05-25 09:12:18,883 INFO org.apache.hadoop.mapred.ReduceTask: attempt_201105241523_0004_r_000000_2 Need another 3 map output(s) where 0 is already in progress&#60;br /&#62;
2011-05-25 09:12:18,883 INFO org.apache.hadoop.mapred.ReduceTask: attempt_201105241523_0004_r_000000_2 Thread started: Thread for polling Map Completion Events&#60;br /&#62;
2011-05-25 09:12:18,883 INFO org.apache.hadoop.mapred.ReduceTask: attempt_201105241523_0004_r_000000_2 Scheduled 0 outputs (0 slow hosts and0 dup hosts)&#60;br /&#62;
2011-05-25 09:12:23,884 INFO org.apache.hadoop.mapred.ReduceTask: attempt_201105241523_0004_r_000000_2 Scheduled 3 outputs (0 slow hosts and0 dup hosts)&#60;br /&#62;
2011-05-25 09:12:24,224 WARN org.apache.hadoop.mapred.ReduceTask: attempt_201105241523_0004_r_000000_2 copy failed: attempt_201105241523_0004_m_000000_0 from cass02&#60;br /&#62;
2011-05-25 09:12:24,224 WARN org.apache.hadoop.mapred.ReduceTask: java.net.UnknownHostException: cass02&#60;br /&#62;
	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:195)&#60;br /&#62;
	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)&#60;br /&#62;
	at java.net.Socket.connect(Socket.java:529)&#60;br /&#62;
	at sun.net.NetworkClient.doConnect(NetworkClient.java:158)&#60;br /&#62;
	at sun.net.www.http.HttpClient.openServer(HttpClient.java:394)&#60;br /&#62;
	at sun.net.www.http.HttpClient.openServer(HttpClient.java:529)&#60;br /&#62;
	at sun.net.www.http.HttpClient.&#38;lt;init&#38;gt;(HttpClient.java:233)&#60;br /&#62;
	at sun.net.www.http.HttpClient.New(HttpClient.java:306)&#60;br /&#62;
	at sun.net.www.http.HttpClient.New(HttpClient.java:323)&#60;br /&#62;
	at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:970)&#60;br /&#62;
	at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:911)&#60;br /&#62;
	at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:836)&#60;br /&#62;
	at org.apache.hadoop.mapred.ReduceTask$ReduceCopier$MapOutputCopier.getInputStream(ReduceTask.java:1602)&#60;br /&#62;
	at org.apache.hadoop.mapred.ReduceTask$ReduceCopier$MapOutputCopier.setupSecureConnection(ReduceTask.java:1559)&#60;br /&#62;
	at org.apache.hadoop.mapred.ReduceTask$ReduceCopier$MapOutputCopier.getMapOutput(ReduceTask.java:1467)&#60;br /&#62;
	at org.apache.hadoop.mapred.ReduceTask$ReduceCopier$MapOutputCopier.copyOutput(ReduceTask.java:1378)&#60;br /&#62;
	at org.apache.hadoop.mapred.ReduceTask$ReduceCopier$MapOutputCopier.run(ReduceTask.java:1310)&#60;/p&#62;
&#60;p&#62;2011-05-25 09:12:24,225 INFO org.apache.hadoop.mapred.ReduceTask: Task attempt_201105241523_0004_r_000000_2: Failed fetch #1 from attempt_201105241523_0004_m_000000_0&#60;br /&#62;
2011-05-25 09:12:24,225 WARN org.apache.hadoop.mapred.ReduceTask: attempt_201105241523_0004_r_000000_2 adding host cass02 to penalty box, next contact in 4 seconds&#60;br /&#62;
2011-05-25 09:12:24,225 INFO org.apache.hadoop.mapred.ReduceTask: attempt_201105241523_0004_r_000000_2: Got 1 map-outputs from previous failures&#60;br /&#62;
2011-05-25 09:12:24,260 WARN org.apache.hadoop.mapred.ReduceTask: attempt_201105241523_0004_r_000000_2 copy failed: attempt_201105241523_0004_m_000001_0 from cass03&#60;br /&#62;
2011-05-25 09:12:24,260 WARN org.apache.hadoop.mapred.ReduceTask: java.net.UnknownHostException: cass03&#60;br /&#62;
	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:195)&#60;br /&#62;
	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)&#60;br /&#62;
	at java.net.Socket.connect(Socket.java:529)&#60;br /&#62;
	at sun.net.NetworkClient.doConnect(NetworkClient.java:158)&#60;br /&#62;
	at sun.net.www.http.HttpClient.openServer(HttpClient.java:394)&#60;br /&#62;
	at sun.net.www.http.HttpClient.openServer(HttpClient.java:529)&#60;br /&#62;
	at sun.net.www.http.HttpClient.&#38;lt;init&#38;gt;(HttpClient.java:233)&#60;br /&#62;
	at sun.net.www.http.HttpClient.New(HttpClient.java:306)&#60;br /&#62;
	at sun.net.www.http.HttpClient.New(HttpClient.java:323)&#60;br /&#62;
	at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:970)&#60;br /&#62;
	at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:911)&#60;br /&#62;
	at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:836)&#60;br /&#62;
	at org.apache.hadoop.mapred.ReduceTask$ReduceCopier$MapOutputCopier.getInputStream(ReduceTask.java:1602)&#60;br /&#62;
	at org.apache.hadoop.mapred.ReduceTask$ReduceCopier$MapOutputCopier.setupSecureConnection(ReduceTask.java:1559)&#60;br /&#62;
	at org.apache.hadoop.mapred.ReduceTask$ReduceCopier$MapOutputCopier.getMapOutput(ReduceTask.java:1467)&#60;br /&#62;
	at org.apache.hadoop.mapred.ReduceTask$ReduceCopier$MapOutputCopier.copyOutput(ReduceTask.java:1378)&#60;br /&#62;
	at org.apache.hadoop.mapred.ReduceTask$ReduceCopier$MapOutputCopier.run(ReduceTask.java:1310)&#60;/p&#62;
&#60;p&#62;2011-05-25 09:12:24,260 INFO org.apache.hadoop.mapred.ReduceTask: Task attempt_201105241523_0004_r_000000_2: Failed fetch #1 from attempt_201105241523_0004_m_000001_0&#60;br /&#62;
2011-05-25 09:12:24,260 WARN org.apache.hadoop.mapred.ReduceTask: attempt_201105241523_0004_r_000000_2 adding host cass03 to penalty box, next contact in 4 seconds&#60;br /&#62;
2011-05-25 09:12:24,260 INFO org.apache.hadoop.mapred.ReduceTask: attempt_201105241523_0004_r_000000_2: Got 1 map-outputs from previous failures&#60;br /&#62;
2011-05-25 09:12:29,360 INFO org.apache.hadoop.mapred.ReduceTask: attempt_201105241523_0004_r_000000_2 Scheduled 2 outputs (0 slow hosts and0 dup hosts)&#60;br /&#62;
2011-05-25 09:12:29,362 WARN org.apache.hadoop.mapred.ReduceTask: attempt_201105241523_0004_r_000000_2 copy failed: attempt_201105241523_0004_m_000000_0 from cass02&#60;br /&#62;
2011-05-25 09:12:29,362 WARN org.apache.hadoop.mapred.ReduceTask: java.net.UnknownHostException: cass02&#60;br /&#62;
	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:195)&#60;br /&#62;
	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)&#60;br /&#62;
	at java.net.Socket.connect(Socket.java:529)&#60;br /&#62;
	at sun.net.NetworkClient.doConnect(NetworkClient.java:158)&#60;br /&#62;
	at sun.net.www.http.HttpClient.openServer(HttpClient.java:394)&#60;br /&#62;
	at sun.net.www.http.HttpClient.openServer(HttpClient.java:529)&#60;br /&#62;
	at sun.net.www.http.HttpClient.&#38;lt;init&#38;gt;(HttpClient.java:233)&#60;br /&#62;
	at sun.net.www.http.HttpClient.New(HttpClient.java:306)&#60;br /&#62;
	at sun.net.www.http.HttpClient.New(HttpClient.java:323)&#60;br /&#62;
	at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:970)&#60;br /&#62;
	at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:911)&#60;br /&#62;
	at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:836)&#60;br /&#62;
	at org.apache.hadoop.mapred.ReduceTask$ReduceCopier$MapOutputCopier.getInputStream(ReduceTask.java:1602)&#60;br /&#62;
	at org.apache.hadoop.mapred.ReduceTask$ReduceCopier$MapOutputCopier.setupSecureConnection(ReduceTask.java:1559)&#60;br /&#62;
	at org.apache.hadoop.mapred.ReduceTask$ReduceCopier$MapOutputCopier.getMapOutput(ReduceTask.java:1467)&#60;br /&#62;
	at org.apache.hadoop.mapred.ReduceTask$ReduceCopier$MapOutputCopier.copyOutput(ReduceTask.java:1378)&#60;br /&#62;
	at org.apache.hadoop.mapred.ReduceTask$ReduceCopier$MapOutputCopier.run(ReduceTask.java:1310)&#60;/p&#62;
&#60;p&#62;2011-05-25 09:12:29,362 INFO org.apache.hadoop.mapred.ReduceTask: Task attempt_201105241523_0004_r_000000_2: Failed fetch #2 from attempt_201105241523_0004_m_000000_0&#60;br /&#62;
2011-05-25 09:12:29,362 INFO org.apache.hadoop.mapred.ReduceTask: Failed to fetch map-output from attempt_201105241523_0004_m_000000_0 even after MAX_FETCH_RETRIES_PER_MAP retries...  or it is a read error,  reporting to the JobTracker&#60;br /&#62;
2011-05-25 09:12:29,362 WARN org.apache.hadoop.mapred.ReduceTask: attempt_201105241523_0004_r_000000_2 copy failed: attempt_201105241523_0004_m_000001_0 from cass03&#60;br /&#62;
2011-05-25 09:12:29,362 WARN org.apache.hadoop.mapred.ReduceTask: attempt_201105241523_0004_r_000000_2 adding host cass02 to penalty box, next contact in 8 seconds&#60;br /&#62;
2011-05-25 09:12:29,363 INFO org.apache.hadoop.mapred.ReduceTask: attempt_201105241523_0004_r_000000_2: Got 1 map-outputs from previous failures&#60;br /&#62;
2011-05-25 09:12:29,363 WARN org.apache.hadoop.mapred.ReduceTask: java.net.UnknownHostException: cass03&#60;br /&#62;
	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:195)&#60;br /&#62;
	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)&#60;br /&#62;
	at java.net.Socket.connect(Socket.java:529)&#60;br /&#62;
	at sun.net.NetworkClient.doConnect(NetworkClient.java:158)&#60;br /&#62;
	at sun.net.www.http.HttpClient.openServer(HttpClient.java:394)&#60;br /&#62;
	at sun.net.www.http.HttpClient.openServer(HttpClient.java:529)&#60;br /&#62;
	at sun.net.www.http.HttpClient.&#38;lt;init&#38;gt;(HttpClient.java:233)&#60;br /&#62;
	at sun.net.www.http.HttpClient.New(HttpClient.java:306)&#60;br /&#62;
	at sun.net.www.http.HttpClient.New(HttpClient.java:323)&#60;br /&#62;
	at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:970)&#60;br /&#62;
	at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:911)&#60;br /&#62;
	at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:836)&#60;br /&#62;
	at org.apache.hadoop.mapred.ReduceTask$ReduceCopier$MapOutputCopier.getInputStream(ReduceTask.java:1602)&#60;br /&#62;
	at org.apache.hadoop.mapred.ReduceTask$ReduceCopier$MapOutputCopier.setupSecureConnection(ReduceTask.java:1559)&#60;br /&#62;
	at org.apache.hadoop.mapred.ReduceTask$ReduceCopier$MapOutputCopier.getMapOutput(ReduceTask.java:1467)&#60;br /&#62;
	at org.apache.hadoop.mapred.ReduceTask$ReduceCopier$MapOutputCopier.copyOutput(ReduceTask.java:1378)&#60;br /&#62;
	at org.apache.hadoop.mapred.ReduceTask$ReduceCopier$MapOutputCopier.run(ReduceTask.java:1310)&#60;/p&#62;
&#60;p&#62;2011-05-25 09:12:29,363 INFO org.apache.hadoop.mapred.ReduceTask: Task attempt_201105241523_0004_r_000000_2: Failed fetch #2 from attempt_201105241523_0004_m_000001_0&#60;br /&#62;
2011-05-25 09:12:29,363 INFO org.apache.hadoop.mapred.ReduceTask: Failed to fetch map-output from attempt_201105241523_0004_m_000001_0 even after MAX_FETCH_RETRIES_PER_MAP retries...  or it is a read error,  reporting to the JobTracker&#60;br /&#62;
2011-05-25 09:12:29,363 FATAL org.apache.hadoop.mapred.ReduceTask: Shuffle failed with too many fetch failures and insufficient progress!Killing task attempt_201105241523_0004_r_000000_2.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Yewei on "There was a problem with the Cassandra Hive MetaStore"</title>
			<link>http://www.datastax.com/support-forums/topic/there-was-a-problem-with-the-cassandra-hive-metastore#post-102</link>
			<pubDate>Tue, 24 May 2011 22:24:54 +0000</pubDate>
			<dc:creator>Yewei</dc:creator>
			<guid isPermaLink="false">102@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;In the hive-site.xml file under brisk, you could add the following properties to point to the metastore on 192.168.*.***: &#60;/p&#62;
&#60;p&#62;&#38;lt;property&#38;gt;&#60;br /&#62;
  &#38;lt;name&#38;gt;cassandra.connection.host&#38;lt;/name&#38;gt;&#60;br /&#62;
  &#38;lt;value&#38;gt;192.168.*.***&#38;lt;/value&#38;gt;&#60;br /&#62;
&#38;lt;/property&#38;gt;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Yewei on "There was a problem with the Cassandra Hive MetaStore"</title>
			<link>http://www.datastax.com/support-forums/topic/there-was-a-problem-with-the-cassandra-hive-metastore#post-101</link>
			<pubDate>Tue, 24 May 2011 22:01:34 +0000</pubDate>
			<dc:creator>Yewei</dc:creator>
			<guid isPermaLink="false">101@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;From the error, it looks like hive is not able to connect to the metastore. By default, it will connect to the localhost. Would you please let me know the procedure of starting your cluster and your hive? Where did you run ./brisk hive? When you run ./nodetool -h XXX ring, what is the result? On the server where you run ./brisk hive, what is the value of listen_address in the resources/cassandra/conf/cassandra.yaml? &#60;/p&#62;
&#60;p&#62;Thank you.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Prosperent on "There was a problem with the Cassandra Hive MetaStore"</title>
			<link>http://www.datastax.com/support-forums/topic/there-was-a-problem-with-the-cassandra-hive-metastore#post-100</link>
			<pubDate>Tue, 24 May 2011 21:02:28 +0000</pubDate>
			<dc:creator>Prosperent</dc:creator>
			<guid isPermaLink="false">100@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;No, actually, that appears to have been my oversight. I typically just bind that to my internal ip for that node. I removed that and it took care of the issue. Thank you for your patience. This is still a new beast for us. &#60;/p&#62;
&#60;p&#62;This got us so we are now able to load the demo site and run the map reduce task. The map task completes, but reduce gives us some errors. I am thinking it is again something to do with our host configuration.&#60;/p&#62;
&#60;p&#62;Ended Job = job_201105241523_0003 with errors&#60;br /&#62;
FAILED: Execution Error, return code 2 from org.apache.hadoop.hive.ql.exec.MapRedTask&#60;/p&#62;
&#60;p&#62;Checking the errors in the hadoop log I see:&#60;/p&#62;
&#60;p&#62;Shuffle Error: Exceeded MAX_FAILED_UNIQUE_FETCHES; bailing-out.&#60;br /&#62;
Shuffle Error: Exceeded MAX_FAILED_UNIQUE_FETCHES; bailing-out.&#60;br /&#62;
Shuffle Error: Exceeded MAX_FAILED_UNIQUE_FETCHES; bailing-out.&#60;br /&#62;
Shuffle Error: Exceeded MAX_FAILED_UNIQUE_FETCHES; bailing-out.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>tjake on "There was a problem with the Cassandra Hive MetaStore"</title>
			<link>http://www.datastax.com/support-forums/topic/there-was-a-problem-with-the-cassandra-hive-metastore#post-98</link>
			<pubDate>Tue, 24 May 2011 19:57:11 +0000</pubDate>
			<dc:creator>tjake</dc:creator>
			<guid isPermaLink="false">98@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;I'll need to reproduce this and see what the problem is... any reason you don't want to bind the rpc to 0.0.0.0?  This is what we recommend in the docs.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Prosperent on "There was a problem with the Cassandra Hive MetaStore"</title>
			<link>http://www.datastax.com/support-forums/topic/there-was-a-problem-with-the-cassandra-hive-metastore#post-97</link>
			<pubDate>Tue, 24 May 2011 19:41:51 +0000</pubDate>
			<dc:creator>Prosperent</dc:creator>
			<guid isPermaLink="false">97@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Thanks, configured that parameter, but still get a localhost error:&#60;/p&#62;
&#60;p&#62; create external table Portfolios(row_key string, column_name string, value string)&#60;br /&#62;
    &#38;gt; STORED BY 'org.apache.hadoop.hive.cassandra.CassandraStorageHandler'&#60;br /&#62;
    &#38;gt; WITH SERDEPROPERTIES (&#34;cassandra.columns.mapping&#34; = &#34;:key,:column,:value&#34;,&#60;br /&#62;
    &#38;gt;   &#34;cassandra.ks.name&#34; = &#34;PortfolioDemo&#34;,&#60;br /&#62;
    &#38;gt;   &#34;cassandra.ks.repfactor&#34; = &#34;2&#34;,&#60;br /&#62;
    &#38;gt;   &#34;cassandra.ks.strategy&#34; = &#34;org.apache.cassandra.locator.SimpleStrategy&#34;,&#60;br /&#62;
    &#38;gt;   &#34;cassandra.cf.name&#34; = &#34;Portfolios&#34; ,&#60;br /&#62;
    &#38;gt;   &#34;cassandra.host&#34; = &#34;10.17.91.132&#34; ,&#60;br /&#62;
    &#38;gt;   &#34;cassandra.port&#34; = &#34;9160&#34;,&#60;br /&#62;
    &#38;gt;   &#34;cassandra.partitioner&#34; = &#34;org.apache.cassandra.dht.RandomPartitioner&#34;)&#60;br /&#62;
    &#38;gt; TBLPROPERTIES (&#60;br /&#62;
    &#38;gt;   &#34;cassandra.input.split.size&#34; = &#34;64000&#34;,&#60;br /&#62;
    &#38;gt;   &#34;cassandra.range.size&#34; = &#34;1000&#34;,&#60;br /&#62;
    &#38;gt;   &#34;cassandra.slice.predicate.size&#34; = &#34;1000&#34;);&#60;br /&#62;
FAILED: Error in metadata: org.apache.cassandra.hadoop.hive.metastore.CassandraHiveMetaStoreException: There was a problem with the Cassandra Hive MetaStore: Could not connect to Cassandra. Reason: Error connecting to node localhost&#60;/p&#62;
&#60;p&#62;I was able to get the data fro mthe tutorial into the system, but starting the java server at this step:&#60;/p&#62;
&#60;p&#62;4)Start the web service.&#60;/p&#62;
&#60;p&#62;cd website&#60;br /&#62;
java -jar start.jar&#60;/p&#62;
&#60;p&#62;It appears that the web server is also trying to connect to localhost for cassandra. Where can this be configured?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>tjake on "There was a problem with the Cassandra Hive MetaStore"</title>
			<link>http://www.datastax.com/support-forums/topic/there-was-a-problem-with-the-cassandra-hive-metastore#post-96</link>
			<pubDate>Tue, 24 May 2011 17:15:51 +0000</pubDate>
			<dc:creator>tjake</dc:creator>
			<guid isPermaLink="false">96@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;You can specify the property &#34;cassandra.host&#34;&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.datastax.com/docs/0.8/brisk/about_hive#reference-serdeproperties-and-tblproperties&#34; rel=&#34;nofollow&#34;&#62;http://www.datastax.com/docs/0.8/brisk/about_hive#reference-serdeproperties-and-tblproperties&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Prosperent on "There was a problem with the Cassandra Hive MetaStore"</title>
			<link>http://www.datastax.com/support-forums/topic/there-was-a-problem-with-the-cassandra-hive-metastore#post-95</link>
			<pubDate>Tue, 24 May 2011 16:57:16 +0000</pubDate>
			<dc:creator>Prosperent</dc:creator>
			<guid isPermaLink="false">95@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;I'm sure this is a simple fix, but i'm just not seeing where to make the change. We setup a 3 node cluster with Brisk. Everything is running fine (according to opscenter). I started up the HIVE tutorial to check out hadoop. Running Ubuntu 10.04 I issue: brisk hive&#60;/p&#62;
&#60;p&#62;No problem, I then try to create the table:&#60;/p&#62;
&#60;p&#62;CREATE TABLE invites (foo INT, bar STRING)&#60;br /&#62;
   PARTITIONED BY (ds STRING)&#60;br /&#62;
   TBLPROPERTIES (&#34;cassandra.ks.name&#34; = &#34;Hive&#34;,&#60;br /&#62;
    &#34;cassandra.ks.repfactor&#34; = &#34;2&#34;,&#60;br /&#62;
    &#34;cassandra.ks.strategy&#34; = &#34;org.apache.cassandra.locator.NetworkTopologyStrategy&#34;,&#60;br /&#62;
    &#34;cassandra.input.split.size&#34; = &#34;64000&#34;,&#60;br /&#62;
    &#34;cassandra.range.size&#34; = &#34;100&#34;,&#60;br /&#62;
    &#34;cassandra.slice.predicate.size&#34; = &#34;100&#34;&#60;br /&#62;
   );&#60;/p&#62;
&#60;p&#62;which results in:&#60;/p&#62;
&#60;p&#62;FAILED: Error in metadata: org.apache.cassandra.hadoop.hive.metastore.CassandraHiveMetaStoreException: There was a problem with the Cassandra Hive MetaStore: Could not connect to Cassandra. Reason: Error connecting to node localhost&#60;/p&#62;
&#60;p&#62;The issue appears to be that it is trying to connect to node: localhost when it should be using one of my internal ip addresses. I was under the impression that the ip's were grabbed fro mthe cassandra.yaml config. Is there another place that we need to change this localhost ip as well?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
