couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Samuel Newson <rnew...@apache.org>
Subject Re: Installing 1843-feature-bigcouch
Date Sun, 25 May 2014 21:12:43 GMT
Please use: make && dev/run

We are far from having a working 'make install'

dev/run will start a joined, three node cluster on ports 15984, 25984, 35984 (any one of which
can perform any clustered operation) and the 'inside' ports of 15986, 25986, 35986, which
are the individual nodes.

B.


On 25 May 2014, at 21:44, Andy Wenk <andy@nms.de> wrote:

> nope ...
> 
> http://localhost:5984/_utils/
> 
> Not found.
> 
> What do I miss here?
> 
> Cheers
> 
> Andy
> 
> 
> On 25 May 2014 22:40, Joan Touzet <wohali@apache.org> wrote:
> 
>> Futon should still be visible at :5984 not :5986, Andy. It's not dropped
>> yet.
>> 
>> -Joan
>> 
>> ----- Original Message -----
>> From: "Andy Wenk" <andy@nms.de>
>> To: dev@couchdb.apache.org
>> Sent: Sunday, May 25, 2014 3:31:41 PM
>> Subject: Re: Installing 1843-feature-bigcouch
>> 
>> Hey Russel,
>> 
>> love testing it :)
>> 
>> So I just wanna drop the link to the rebar -vvv eunit log:
>> 
>> https://gist.github.com/andywenk/1d2d24ed67f4d5130e72
>> 
>> Although you have already mentioned, that you did not see anything
>> spectacular, it maybe helps.
>> 
>> Futon - yes sure. I was not aware, that it's already dropped in this
>> branch.
>> 
>> I am now wondering, what test scenarios there are. Let me know and I keep
>> going with testing.
>> 
>> Cheers
>> 
>> Andy
>> 
>> 
>> On 25 May 2014 19:37, Russell Branca <chewbranca@apache.org> wrote:
>> 
>>> Thanks for the report Andy. I'm not sure how far Newson has tested doing
>> a
>>> `make install`, I know personally I've only been running with the local
>> dev
>>> server for now.
>>> 
>>> The crash error in your log with mem3_shards:fold failing on a bad match
>> is
>>> an interesting one, and looks like an actual bug.
>>> 
>>> As for Futon, I think the general consensus is to drop it entirely for
>> 2.0
>>> and switch over to Fauxton.
>>> 
>>> Andy, thanks for starting to test single node CouchDB! It's definitely
>>> important to make sure there aren't any regressions there and that things
>>> still work as expected.
>>> 
>>> 
>>> -Russell
>>> 
>>> 
>>> On Sun, May 25, 2014 at 9:26 AM, Andy Wenk <andy@nms.de> wrote:
>>> 
>>>> Hi Bob,
>>>> 
>>>> I cloned a fresh couch repo and ran
>>>> 
>>>> $ ./configure
>>>> $ make
>>>> 
>>>> Here are some warnings:
>>>> 
>>>> Compiling priv/icu_driver/couch_icu_driver.c
>>>> priv/icu_driver/couch_icu_driver.c:171:9: warning: incompatible pointer
>>>> types initializing 'ErlDrvSSizeT (*)(ErlDrvData, unsigned int, char *,
>>>> ErlDrvSizeT, char **, ErlDrvSizeT)' with an expression of type
>>>> 'COUCH_SSIZET (ErlDrvData, unsigned int, char *, COUCH_SSIZET, char **,
>>>> COUCH_SSIZET)' [-Wincompatible-pointer-types]
>>>>        couch_drv_control,  /* F_PTR control, port_command callback */
>>>>        ^~~~~~~~~~~~~~~~~
>>>> 1 warning generated.
>>>> 
>>>> Compiling c_src/snappy/snappy.cc
>>>> c_src/snappy/snappy.cc:516:13: warning: unused function 'ComputeTable'
>>>> [-Wunused-function]
>>>> static void ComputeTable() {
>>>>            ^
>>>> 1 warning generated.
>>>> 
>>>> When running
>>>> 
>>>> $ make test
>>>> 
>>>> I just received:
>>>> 
>>>> ==> couchdb-1843-feature-bigcouch-3 (eunit)
>>>> 
>>>> When running
>>>> 
>>>> $ make install
>>>> 
>>>> I received
>>>> 
>>>> WARN:  'generate' command does not apply to directory
>>>> /Users/andwen/project/couchdb/couchdb-1843-feature-bigcouch-3
>>>> mkdir: /opt/couchdb: Permission denied
>>>> make: *** [install] Error 1
>>>> 
>>>> So the target is /opt/couchdb ... ? That's new ...
>>>> 
>>>> With sudo it works for sure. I received this warning:
>>>> 
>>>> WARN:  'generate' command does not apply to directory
>>>> /Users/andwen/project/couchdb/couchdb-1843-feature-bigcouch-3
>>>> 
>>>> When starting couchdb with
>>>> 
>>>> $ sudo /opt/couchdb/bin/couchdb
>>>> 
>>>> I received
>>>> 
>>>> sudo /opt/couchdb/bin/couchdb                        ⏎ ◼
>>>> Apache CouchDB 6dcd33b is starting.
>>>> 18:22:00.869 [info] Application lager started on node
>>>> 'couchdb@andwen-2.local'
>>>> 18:22:00.869 [info] Application couch_log started on node
>>>> 'couchdb@andwen-2.local'
>>>> 18:22:00.875 [info] Starting couch_sup
>>>> 18:22:00.927 [notice] config: [couchdb] uuid set to
>>>> b8bc739cea165a5795e4adca8be5f894 for reason nil
>>>> 18:22:00.963 [info] open_result error {not_found,no_db_file} for _users
>>>> 18:22:00.982 [info] needed 18.134 ms to open new _users
>>>> 18:22:01.030 [info] open_result error {not_found,no_db_file} for
>>>> _replicator
>>>> 18:22:01.037 [info] needed 6.67 ms to open new _replicator
>>>> Apache CouchDB has started. Time to relax.
>>>> 18:22:01.050 [info] Apache CouchDB has started on
>> http://127.0.0.1:5986/
>>>> 18:22:01.050 [info] Application couch started on node
>>>> 'couchdb@andwen-2.local'
>>>> 18:22:01.064 [info] Application rexi started on node
>>>> 'couchdb@andwen-2.local
>>>> '
>>>> 18:22:01.075 [error] Could not open file
>>> /opt/couchdb/var/lib/nodes.couch:
>>>> no such file or directory
>>>> 18:22:01.075 [info] open_result error {not_found,no_db_file} for nodes
>>>> 18:22:01.081 [info] needed 5.419 ms to open new nodes
>>>> 18:22:01.100 [error] Could not open file
>> /opt/couchdb/var/lib/dbs.couch:
>>> no
>>>> such file or directory
>>>> 18:22:01.100 [info] Application mem3 started on node
>>>> 'couchdb@andwen-2.local
>>>> '
>>>> 18:22:01.100 [info] open_result error {not_found,no_db_file} for dbs
>>>> 18:22:01.100 [info] Application fabric started on node
>>>> 'couchdb@andwen-2.local'
>>>> 18:22:01.101 [error] Error in process <0.199.0> on node
>>>> 'couchdb@andwen-2.local' with exit value:
>>>> 
>>>> 
>>> 
>> {{badmatch,file_exists},[{mem3_shards,fold,2,[{file,"src/mem3_shards.erl"},{line,91}]},{mem3_sync,initial_sync,1,[{file,"src/mem3_sync.erl"},{line,242}]}]}
>>>> 
>>>> 
>>>> 18:22:01.106 [info] needed 5.706 ms to open new dbs
>>>> 18:22:01.135 [info] Application chttpd started on node
>>>> 'couchdb@andwen-2.local'
>>>> 18:22:01.135 [info] Application couch_replicator started on node
>>>> 'couchdb@andwen-2.local'
>>>> 18:22:01.135 [info] Application ets_lru started on node
>>>> 'couchdb@andwen-2.local'
>>>> 18:22:01.153 [info] Application ddoc_cache started on node
>>>> 'couchdb@andwen-2.local'
>>>> 18:22:01.177 [info] Application runtime_tools started on node
>>>> 'couchdb@andwen-2.local'
>>>> 18:22:01.177 [info] Application snappy started on node
>>>> 'couchdb@andwen-2.local'
>>>> 
>>>> So looking at localhost:5986 I received
>>>> 
>>>> {
>>>> 
>>>>   - couchdb: "Welcome",
>>>>   - uuid: "b8bc739cea165a5795e4adca8be5f894",
>>>>   - version: "6dcd33b"
>>>> 
>>>> }
>>>> 
>>>> And localhost:5986/_all_dbs/
>>>> 
>>>> [
>>>> 
>>>>   - "_replicator",
>>>>   - "_users",
>>>>   - "dbs",
>>>>   - "nodes"
>>>> 
>>>> ]
>>>> 
>>>> Futon is not working at localhost:5986/_utils/
>>>> 
>>>> So far ...
>>>> 
>>>> Cheers
>>>> 
>>>> Andy
>>>> 
>>>> --
>>>> Andy Wenk
>>>> Hamburg - Germany
>>>> RockIt!
>>>> 
>>>> http://www.couchdb-buch.de
>>>> http://www.pg-praxisbuch.de
>>>> 
>>>> GPG fingerprint: C044 8322 9E12 1483 4FEC 9452 B65D 6BE3 9ED3 9588
>>>> 
>>>> https://people.apache.org/keys/committer/andywenk.asc
>>>> 
>>> 
>> 
>> 
>> 
>> --
>> Andy Wenk
>> Hamburg - Germany
>> RockIt!
>> 
>> http://www.couchdb-buch.de
>> http://www.pg-praxisbuch.de
>> 
>> GPG fingerprint: C044 8322 9E12 1483 4FEC 9452 B65D 6BE3 9ED3 9588
>> 
>> https://people.apache.org/keys/committer/andywenk.asc
>> 
> 
> 
> 
> -- 
> Andy Wenk
> Hamburg - Germany
> RockIt!
> 
> http://www.couchdb-buch.de
> http://www.pg-praxisbuch.de
> 
> GPG fingerprint: C044 8322 9E12 1483 4FEC 9452 B65D 6BE3 9ED3 9588
> 
> https://people.apache.org/keys/committer/andywenk.asc


Mime
View raw message