330 Errors

Jeremiah Peschka jeremiah.peschka at gmail.com
Mon Dec 6 06:28:39 EST 2010


Ah, I see that now. That's what I get for searching by a few key words
instead of trusting my memory and scanning my mail archive.

Thanks for the quick response!

Jeremiah Peschka
Microsoft SQL Server MVP
MCITP: Database Developer, DBA

On Dec 5, 2010 10:27 PM, "David Smith" <dizzyd at basho.com> wrote:
> This was discussed earlier today:
>
>
http://lists.basho.com/pipermail/riak-users_lists.basho.com/2010-December/002602.html
>
> D.
>
> On Sun, Dec 5, 2010 at 7:26 PM, Jeremiah Peschka
> <jeremiah.peschka at gmail.com> wrote:
>> Just a quick update - this works beautifully in 0.13.0, so I'm even more
>> confused than ever before. I realize, too, that you'd probably like to
see
>> the output of riak-admin status:
>> 1-minute stats for 'dev1 at 127.0.0.1'
>> -------------------------------------------
>> vnode gets : 0
>> vnode_puts : 0
>> read_repairs : 0
>> vnode_gets_total : 0
>> vnode_puts_total : 0
>> node_gets : 0
>> node_gets_total : 0
>> node_get_fsm_time_mean : undefined
>> node_get_fsm_time_median : undefined
>> node_get_fsm_time_95 : undefined
>> node_get_fsm_time_99 : undefined
>> node_get_fsm_time_100 : undefined
>> node_puts : 0
>> node_puts_total : 0
>> node_put_fsm_time_mean : undefined
>> node_put_fsm_time_median : undefined
>> node_put_fsm_time_95 : undefined
>> node_put_fsm_time_99 : undefined
>> node_put_fsm_time_100 : undefined
>> read_repairs_total : 0
>> cpu_nprocs : 116
>> cpu_avg1 : 108
>> cpu_avg5 : 95
>> cpu_avg15 : 90
>> mem_total : 6809560000
>> mem_allocated : 4084760000
>> disk : [{"/",249723184,35},
>>         {"/Volumes/InternalStorage",379584512,64},
>>         {"/Volumes/XStorage",488050672,61}]
>> nodename : 'dev1 at 127.0.0.1'
>> connected_nodes : []
>> sys_driver_version : <<"1.5">>
>> sys_global_heaps_size : 0
>> sys_heap_type : private
>> sys_logical_processors : 4
>> sys_otp_release : <<"R14B">>
>> sys_process_count : 169
>> sys_smp_support : true
>> sys_system_version : <<"Erlang R14B (erts-5.8.1) [source] [64-bit]
[smp:4:4]
>> [rq:4] [async-threads:64] [hipe] [kernel-poll:true]">>
>> sys_system_architecture : <<"i386-apple-darwin10.5.0">>
>> sys_threads_enabled : true
>> sys_thread_pool_size : 64
>> sys_wordsize : 8
>> ring_members : ['dev1 at 127.0.0.1','dev2 at 127.0.0.1','dev3 at 127.0.0.1']
>> ring_num_partitions : 64
>> ring_ownership :
>> <<"[{'dev3 at 127.0.0.1',21},{'dev2 at 127.0.0.1',21},{'dev1 at 127.0.0.1',22}]">>
>> ring_creation_size : 64
>> storage_backend : riak_kv_bitcask_backend
>> pbc_connects_total : 0
>> pbc_connects : 0
>> pbc_active : 0
>> riak_err_version : <<"0.1.0">>
>> runtime_tools_version : <<"1.8.4.1">>
>> luwak_version : <<"1.0">>
>> skerl_version : <<"0.1">>
>> riak_kv_version : <<"0.13.0">>
>> bitcask_version : <<"1.1.4">>
>> riak_core_version : <<"0.13.0">>
>> luke_version : <<"0.2.2">>
>> erlang_js_version : <<"0.4.1">>
>> mochiweb_version : <<"1.7.1">>
>> webmachine_version : <<"1.7.3">>
>> crypto_version : <<"2.0.1">>
>> os_mon_version : <<"2.2.5">>
>> sasl_version : <<"2.1.9.2">>
>> stdlib_version : <<"1.17.1">>
>> kernel_version : <<"2.14.1">>
>> executing_mappers : 0
>> Jeremiah Peschka
>> Microsoft SQL Server MVP
>> MCITP: Database Developer, DBA
>>
>>
>> On Sun, Dec 5, 2010 at 9:09 PM, Jeremiah Peschka
>> <jeremiah.peschka at gmail.com> wrote:
>>>
>>> I recently switched from 0.12 to the latest and greatest from github and
>>> I'm running into an HTTP 330 error when I attempt to read from a bucket.
I
>>> uploaded this picture using `curl -X PUT
>>> HTTP://127.0.0.1:8091/riak/images/1.jpg -H "Content-type: image/jpeg"
>>> --data-binary @nixon.jpg`
>>> when I go to view the image, I get "Error 330
>>> (net::ERR_CONTENT_DECODING_FAILED): Unknown error."
>>> When I use `riak attach` to take a look at what's going on, I can see
that
>>> the image is in there:
>>> (dev1 at 127.0.0.1)5> C:get(<<"images">>, <<"1.jpg">>, 1).
>>> {ok,{r_object,<<"images">>,<<"1.jpg">>,
>>>               [{r_content,{dict,5,16,16,8,80,48,
>>>
 {[],[],[],[],[],[],[],[],[],[],[],[],...},
>>>                                 {{[],[],
>>>                                   [[<<"Links">>]],
>>>                                   [],[],
>>>                                   [[<<"X-Riak-T"...>>,49,75|...]],
>>>                                   [],[],[],[],...}}},
>>>
>>>  <<255,216,255,224,0,16,74,70,73,70,0,1,2,1,0,72,0,
>>>                             72,0,...>>}],
>>>               [{<<5,249,52,160>>,{1,63458817684}},
>>>                {<<131,98,5,150,94,114>>,{1,63458818215}},
>>>                {<<5,248,163,2>>,{1,63458818215}},
>>>                {<<4,211,21,247>>,{1,63458818516}},
>>>                {<<131,98,7,237,200,144>>,{1,63458818532}},
>>>                {<<131,98,4,225,148,161>>,{1,63458818532}},
>>>                {<<131,98,0,18,233,187>>,{1,63458818532}},
>>>                {<<5,113,110,142>>,{1,63458819383}},
>>>                {<<131,98,5,43,155,126>>,{1,63458819383}}],
>>>               {dict,1,16,16,8,80,48,
>>>                     {[],[],[],[],[],[],[],[],[],[],[],[],[],...},
>>>                     {{[],[],[],[],[],[],[],[],[],[],[],...}}},
>>>               undefined}}
>>>
>>> However, I end up with this error streaming across the console:
>>> =ERROR REPORT==== 5-Dec-2010::21:04:25 ===
>>> webmachine error: path="/riak/images/1.jpg"
>>> [{webmachine_util,escape_quotes,
>>>      [{error,
>>>           {error,badarg,
>>>               [{dict,fetch,
>>>                    [<<"X-Riak-VTag">>,
>>>                     {dict,5,16,16,8,80,48,
>>>
 {[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[]},
>>>                         {{[],[],
>>>                           [[<<"Links">>]],
>>>                           [],[],
>>>
>>>  [[<<"X-Riak-Tag">>,49,75,109,90,107,122,79,79,120,
>>>                             86,102,56,75,110,53,68,80,82,68,70,101,49]],
>>>                           [],[],[],[],
>>>
>>>  [[<<"content-type">>,105,109,97,103,101,47,106,112,
>>>                             101,103]],
>>>                           [],[],
>>>
>>>  [[<<"X-Riak-Last-Modified">>|{1291,600183,525348}]],
>>>                           [],
>>>                           [[<<"X-Riak-Meta">>]]}}}]},
>>>                {riak_kv_wm_raw,generate_etag,2},
>>>                {webmachine_resource,resource_call,3},
>>>                {webmachine_resource,do,3},
>>>                {webmachine_decision_core,resource_call,1},
>>>                {webmachine_decision_core,decision,1},
>>>                {webmachine_decision_core,handle_request,2},
>>>                {webmachine_mochiweb,loop,1}]}},
>>>       "\""]},
>>>  {webmachine_decision_core,decision,1},
>>>  {webmachine_decision_core,handle_request,2},
>>>  {webmachine_mochiweb,loop,1},
>>>  {mochiweb_http,headers,5},
>>>  {proc_lib,init_p_do_apply,3}]
>>>
>>>
>>>
>>> Jeremiah Peschka
>>> Microsoft SQL Server MVP
>>> MCITP: Database Developer, DBA
>>
>>
>> _______________________________________________
>> riak-users mailing list
>> riak-users at lists.basho.com
>> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.basho.com/pipermail/riak-users_lists.basho.com/attachments/20101206/2744273c/attachment-0001.html>


More information about the riak-users mailing list