You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by "Denis Moreno (JIRA)" <ji...@apache.org> on 2016/09/26 13:42:20 UTC

[jira] [Closed] (COUCHDB-3160) Getting process error while reindexing views

     [ https://issues.apache.org/jira/browse/COUCHDB-3160?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Denis Moreno closed COUCHDB-3160.
---------------------------------
    Resolution: Cannot Reproduce

> Getting process error while reindexing views
> --------------------------------------------
>
>                 Key: COUCHDB-3160
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-3160
>             Project: CouchDB
>          Issue Type: Bug
>          Components: Database Core, JavaScript View Server
>    Affects Versions: 1.6.1
>            Reporter: Denis Moreno
>            Priority: Minor
>
> Hello, 
> we're getting a process error while trying to reindex a subset amount of views in one of our databases. 
> We're running Couchdb 1.6.1.
> Here is the filtered debug log :
> [Mon, 26 Sep 2016 11:06:28 GMT] [debug] [<0.86.0>] New task status for <0.464.0>: [{changes_done,101},
>                                                    {database,<<"projects">>},
>                                                    {design_document,
>                                                     <<"_design/genomics-dashboard">>},
>                                                    {progress,63},
>                                                    {started_on,1474887988},
>                                                    {total_changes,159},
>                                                    {type,indexer},
>                                                    {updated_on,1474887988}]
> [Mon, 26 Sep 2016 11:06:32 GMT] [debug] [<0.86.0>] New task status for <0.464.0>: [{changes_done,160},
>                                                    {database,<<"projects">>},
>                                                    {design_document,
>                                                     <<"_design/genomics-dashboard">>},
>                                                    {progress,100},
>                                                    {started_on,1474887988},
>                                                    {total_changes,159},
>                                                    {type,indexer},
>                                                    {updated_on,1474887992}]
> [Mon, 26 Sep 2016 11:06:56 GMT] [error] [<0.464.0>] OS Process Error <0.466.0> :: {os_process_error,
>                                                    {exit_status,1}}
> [Mon, 26 Sep 2016 11:06:56 GMT] [error] [emulator] Error in process <0.464.0> with exit value: {{nocatch,{os_process_error,{exit_status,1}}},[{couch_os_process,prompt,2,[{file,"couch_os_process.erl"},{line,57}]},{couch_query_servers,map_doc_raw,2,[{file,"couch_query_servers.erl"},{line,88}]},{couch_mrview_updater,'-map_docs/2-fun-0-'... 
> [Mon, 26 Sep 2016 11:06:56 GMT] [debug] [<0.253.0>] Minor error in HTTP request: {os_process_error,
>                                                   {exit_status,1}}
> [Mon, 26 Sep 2016 11:06:56 GMT] [debug] [<0.258.0>] Minor error in HTTP request: {os_process_error,
>                                                   {exit_status,1}}
> [Mon, 26 Sep 2016 11:06:56 GMT] [debug] [<0.253.0>] Stacktrace: [{couch_mrview_util,get_view,4,
>                                      [{file,"src/couch_mrview_util.erl"},
>                                       {line,49}]},
>                                  {couch_mrview,query_view,6,
>                                      [{file,"src/couch_mrview.erl"},
>                                       {line,75}]},
>                                  {couch_httpd,etag_maybe,2,
>                                      [{file,"couch_httpd.erl"},{line,610}]},
>                                  {couch_mrview_http,design_doc_view,5,
>                                      [{file,"src/couch_mrview_http.erl"},
>                                       {line,188}]},
>                                  {couch_httpd_db,do_db_req,2,
>                                      [{file,"couch_httpd_db.erl"},{line,234}]},
>                                  {couch_httpd,handle_request_int,5,
>                                      [{file,"couch_httpd.erl"},{line,318}]},
>                                  {mochiweb_http,headers,5,
>                                      [{file,"mochiweb_http.erl"},{line,94}]},
>                                  {proc_lib,init_p_do_apply,3,
>                                      [{file,"proc_lib.erl"},{line,227}]}]
> [Mon, 26 Sep 2016 11:06:56 GMT] [debug] [<0.558.0>] OS Process #Port<0.3655> Output :: true
> [Mon, 26 Sep 2016 11:06:56 GMT] [debug] [<0.258.0>] Stacktrace: [{couch_mrview_util,get_view,4,
>                                      [{file,"src/couch_mrview_util.erl"},
>                                       {line,49}]},
>                                  {couch_mrview,query_view,6,
>                                      [{file,"src/couch_mrview.erl"},
> {line,75}]},
>                                  {couch_httpd,etag_maybe,2,
>                                      [{file,"couch_httpd.erl"},{line,610}]},
>                                  {couch_mrview_http,design_doc_view,5,
>                                      [{file,"src/couch_mrview_http.erl"},
>                                       {line,188}]},
>                                  {couch_httpd_db,do_db_req,2,
>                                      [{file,"couch_httpd_db.erl"},{line,234}]},
>                                  {couch_httpd,handle_request_int,5,
>                                      [{file,"couch_httpd.erl"},{line,318}]},
>                                  {mochiweb_http,headers,5,
>                                      [{file,"mochiweb_http.erl"},{line,94}]},
>                                  {proc_lib,init_p_do_apply,3,
>                                      [{file,"proc_lib.erl"},{line,227}]}]
> [Mon, 26 Sep 2016 11:06:56 GMT] [debug] [<0.558.0>] OS Process #Port<0.3655> Output :: true
> [Mon, 26 Sep 2016 11:06:56 GMT] [debug] [<0.258.0>] Stacktrace: [{couch_mrview_util,get_view,4,
>                                      [{file,"src/couch_mrview_util.erl"},
>                                       {line,49}]},
>                                  {couch_mrview,query_view,6,
>                                      [{file,"src/couch_mrview.erl"},
>                                       {line,75}]},
>                                  {couch_httpd,etag_maybe,2,
>                                      [{file,"couch_httpd.erl"},{line,610}]},
>                                  {couch_mrview_http,design_doc_view,5,
>                                      [{file,"src/couch_mrview_http.erl"},
>                                       {line,188}]},
>                                  {couch_httpd_db,do_db_req,2,
>                                      [{file,"couch_httpd_db.erl"},{line,234}]},
>                                  {couch_httpd,handle_request_int,5,
>                                      [{file,"couch_httpd.erl"},{line,318}]},
>                                  {mochiweb_http,headers,5,
>                                      [{file,"mochiweb_http.erl"},{line,94}]},
>                                  {proc_lib,init_p_do_apply,3,
>                                      [{file,"proc_lib.erl"},{line,227}]}]
> I am not quite sure how to handle this, but this locks us from using any of the views in that subset.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)