[Wikidata-bugs] [Maniphest] [Commented On] T76509: Figure out why Titan gets OOM when importing data

2014-12-02 Thread Manybubbles
Manybubbles added a comment. @Smalyshev OK - I can you try adding g.rollback() to the end of any of your scripts? I _think_ Titan isn't being super careful to automatically close any outstanding transactions. It autocreates them it lots of cases. TASK DETAIL

[Wikidata-bugs] [Maniphest] [Commented On] T76509: Figure out why Titan gets OOM when importing data

2014-12-02 Thread Manybubbles
Manybubbles added a comment. @Smalyshev - disregard that last bit - now that I see the code it makes more sense. @aude - Yeah - wikidata toolkit might be super useful for parsing, not sure. TASK DETAIL https://phabricator.wikimedia.org/T76509 REPLY HANDLER ACTIONS Reply to comment or

[Wikidata-bugs] [Maniphest] [Commented On] T76509: Figure out why Titan gets OOM when importing data

2014-12-02 Thread Smalyshev
Smalyshev added a comment. Oh, another missing piece - the data is loaded now by somethine like: dataLoader.gzipFile(/Users/smalyshev/Downloads/xaax.gz).load(100) So DataLoader is the starting point. Sorry, it's work in progress, a bit messy now :) @aude will definitely check it out,

[Wikidata-bugs] [Maniphest] [Commented On] T76509: Figure out why Titan gets OOM when importing data

2014-12-02 Thread Manybubbles
Manybubbles added a comment. @SMalyshev - try adding mgmt.rollback right before https://github.com/smalyshev/wikidata-gremlin/blob/titan/src/main/groovy/org/wikidata/gremlin/Loader.groovy#L340 . It looks like every call to getManagementSystem starts a transaction whether or not you need

[Wikidata-bugs] [Maniphest] [Triaged] T76510: HttpError from line 344 of EntityDataRequestHandler.php: No entity with ID Q15916620 was found

2014-12-02 Thread Lydia_Pintscher
Lydia_Pintscher triaged this task as Normal priority. Lydia_Pintscher added a subscriber: JanZerebecki. TASK DETAIL https://phabricator.wikimedia.org/T76510 REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign username. To: Lydia_Pintscher Cc:

[Wikidata-bugs] [Maniphest] [Triaged] T76510: HttpError from line 344 of EntityDataRequestHandler.php: No entity with ID Q15916620 was found

2014-12-02 Thread Lydia_Pintscher
Lydia_Pintscher triaged this task as Normal priority. Lydia_Pintscher added a subscriber: JanZerebecki. TASK DETAIL https://phabricator.wikimedia.org/T76510 REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign username. To: Lydia_Pintscher Cc:

[Wikidata-bugs] [Maniphest] [Commented On] T76509: Figure out why Titan gets OOM when importing data

2014-12-02 Thread Smalyshev
Smalyshev added a comment. Yes, the docs say: https://thinkaurelius.github.io/titan/javadoc/current/com/thinkaurelius/titan/core/TitanGraph.html#getManagementSystem() TitanManagement getManagementSystem() Returns the management system for this graph instance. The management system provides

[Wikidata-bugs] [Maniphest] [Unblock] T76373: Evaluate Titan as graph storage/query engine for Wikidata Query service

2014-12-02 Thread Smalyshev
Smalyshev closed blocking task T76509: Figure out why Titan gets OOM when importing data as Resolved. TASK DETAIL https://phabricator.wikimedia.org/T76373 REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign username. To: Smalyshev Cc:

[Wikidata-bugs] [Maniphest] [Closed] T76509: Figure out why Titan gets OOM when importing data

2014-12-02 Thread Smalyshev
Smalyshev closed this task as Resolved. TASK DETAIL https://phabricator.wikimedia.org/T76509 REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign username. To: Smalyshev Cc: Aklapper, Smalyshev, Manybubbles, GWicke, JanZerebecki, aude, jkroll,

[Wikidata-bugs] [Maniphest] [Commented On] T76373: Evaluate Titan as graph storage/query engine for Wikidata Query service

2014-12-02 Thread GWicke
GWicke added a comment. ! In T76373#799513, @Smalyshev wrote: Technical issues: # On import, titan sometimes slows down and gets into GC loops. # On querying, for vertices with a lot of edges (such as `wd(Q5).in(P31)`, i.e. humans, titan produces a backend exception: ``` Caused by:

[Wikidata-bugs] [Maniphest] [Updated] T76516: Notice: Undefined index: language in repo/includes/api/EditEntity.php on line 812

2014-12-02 Thread gerritbot
gerritbot added a project: Patch-For-Review. gerritbot added a comment. Change 177090 had a related patch set uploaded (by Aude): Add array_key_exists check for language in EditEntity api module [[https://gerrit.wikimedia.org/r/177090]] #patch-for-review TASK DETAIL

[Wikidata-bugs] [Maniphest] [Updated] T76516: Notice: Undefined index: language in repo/includes/api/EditEntity.php on line 812

2014-12-02 Thread gerritbot
gerritbot added a project: Patch-For-Review. gerritbot added a comment. Change 177090 had a related patch set uploaded (by Aude): Add array_key_exists check for language in EditEntity api module [[https://gerrit.wikimedia.org/r/177090]] #patch-for-review TASK DETAIL

[Wikidata-bugs] [Maniphest] [Commented On] T76373: Evaluate Titan as graph storage/query engine for Wikidata Query service

2014-12-02 Thread Smalyshev
Smalyshev added a comment. OK, setting `thrift_framed_transport_size_in_mb` in `cassandra.yaml` in both Cassandra and Titan (they both have the yaml file) to 256 seems to eliminate the Frame size error, now `g.wd('Q5').in('P31').labelEn[0]` words and produces 'Douglas Adams' as it should.

[Wikidata-bugs] [Maniphest] [Commented On] T76373: Evaluate Titan as graph storage/query engine for Wikidata Query service

2014-12-02 Thread GWicke
GWicke added a comment. ! In T76373#802449, @Smalyshev wrote: Note, that running Titan with Cassandra embedded requires GC tuning. While embedded Cassandra can provide lower latency query answering, its GC behavior under load is less predictable. Yeah, agreed. GC scaling limits are kind of

[Wikidata-bugs] [Maniphest] [Created] T76545: InvalidArgumentException from line 45 SiteLink.php: $pageName must be a string; got boolean (from UpdateRepoOnMoveJob)

2014-12-02 Thread aude
aude created this task. aude added a subscriber: aude. aude added projects: MediaWiki-extensions-WikibaseRepository, Wikidata. aude changed Security from none to none. TASK DESCRIPTION InvalidArgumentException from line 45 of

[Wikidata-bugs] [Maniphest] [Updated] T75892: Create technical-debt project

2014-12-02 Thread Jdforrester-WMF
Jdforrester-WMF removed a project: VisualEditor-TechnicalDebt. TASK DETAIL https://phabricator.wikimedia.org/T75892 REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign username. To: Jdforrester-WMF Cc: JanZerebecki, Tobi_WMDE_SW, Tgr,

<    1   2