subscribe

2014-11-11 Thread DAVID SWEARINGEN
- To unsubscribe, e-mail: user-unsubscr...@spark.apache.org For additional commands, e-mail: user-h...@spark.apache.org

Failed to find Spark examples assembly... error message

2014-02-10 Thread David Swearingen
I'm running 0.9.0 and attempting to try the example described here: https://spark.incubator.apache.org/docs/0.9.0/streaming-programming-guide.html#a-quick-example ./bin/run-example org.apache.spark.streaming.examples.JavaNetworkWordCount local[2] localhost But get the error:

Re: Failed to find Spark examples assembly... error message

2014-02-10 Thread David Swearingen
to be looking for why the script is not coming up with the right path to that file. On Mon, Feb 10, 2014 at 8:49 AM, David Swearingen dswearin...@centrifugesystems.com mailto:dswearin...@centrifugesystems.com wrote: I'm running 0.9.0 and attempting to try the example described here: https

Re: Newbie - Hive Tutorial question, what format is the sample data file in?

2012-09-01 Thread David Swearingen
are serialized into strings. On Sat, Sep 1, 2012 at 7:52 AM, David Swearingen dswearin...@42six.com wrote: I'm going through the tutorial at https://cwiki.apache.org/Hive/tutorial.html . It's not clear to me what the exact format of the log file would be for the sample queries described eg

[MarkLogic Dev General] Is fn:doc-available() high performance, or should we use something else like cts:uri-match()?

2012-03-01 Thread David Swearingen
We have a system with a million or so records. When attempting to discern if a doc with a given uri is in the system, what's the fastest method? Thanks. ___ General mailing list General@developer.marklogic.com

Re: [MarkLogic Dev General] General Digest, Vol 93, Issue 3

2012-03-01 Thread David Swearingen
Subject line so it is more specific than Re: Contents of General digest... Today's Topics: 1. Is fn:doc-available() high performance, or should we use something else like cts:uri-match()? (David Swearingen) 2. Re: Is fn:doc-available() high performance, or should we use something

[MarkLogic Dev General] Integration tests and how to account for the delays in some document ingestion processes

2012-02-22 Thread David Swearingen
We are testing some of our document ingestion routines, using JUnit and some other libraries, and we need to understand what the best practice is for dealing with the finite amount of time (often tens of seconds) required to ingest successfully, and thus how to somehow delay our assertions (that

[MarkLogic Dev General] Does CPF support multiple Conditions?

2012-01-25 Thread David Swearingen
the logic of the first condition (the .xqy file) for reasons I won't get into here. Is there a way to do this? We tried adding a second state-transition element, but that appears not to work, and this was just speculation since we can't find any documentation to support doing this. Thanks, David

Executing a database call for several different matches

2005-01-28 Thread David Swearingen
I'm building a little logging system that will create a record in a database anytime one of about 20 different pages on my site is hit. So there are now say 20 different map:matches for these pages. I don't want to insert some kind of database call (ESQL, Action, other) in each map:match pattern

RE: [Cocoon-Users] Executing a database call for several different matches

2005-01-28 Thread David Swearingen
it on the SQLTransformer, then the mydatabase transformer could just be an XSL that sets up the SQL calls. Hopefully this helps somewhat. Irv David Swearingen wrote: I'm building a little logging system that will create a record in a database anytime one of about 20 different pages on my site is hit

Creative Ideas on How to Cache Pipelines Containing Non-Cacheable Generator?

2005-01-19 Thread David Swearingen
I store all my content for a Cocoon site in xml files. This means I make a lot of use of the DirectoryGenerator. It works great, but I've got now some legacy .pdf files from another project, sometimes hundreds per directory, sometimes on another machine on the local network, and so it takes

Link Livesites: Legal Portal on Cocoon 2.1.5.1

2004-12-11 Thread David Swearingen
Website is www.duinetwork.com, which is a legal portal. It's been on the air for about 5 months. Totally Cocoon-driven, all content resides in xml files. Pretty simple site, but has a portal-like architecture which allows me to re-arrange portions of the page if I care to. I've been happy with

Processing a particular pipeline before every other pipeline?

2004-07-28 Thread David Swearingen
I need to run some cookie generation code (ina pipeline) before any of my web pages are processed. That is, I've got several pipelines, but I want this particular pipeline to run before any of the others are executed. Obviously, I don't want to have to modify every existing pipeline, and all

Cocoon CLI Command Line Interface - Basic Question

2004-05-13 Thread David Swearingen
I'm trying to get Cocoon CLI to work. I've scoured all the documents on this, but can't figure out how cli knows where to find my sitemap. I have cocoon up and running just fine under Tomcat as a web application. What I need is a very basic command line -- which commands are REQUIRED to simply

Best way to merge two xml files

2004-04-29 Thread David Swearingen
(Subject line of my post may be misleading.) What I'm trying to do is, when XSL processing of foo.xml is taking place, when a certain element is encountered in foo.xml, I want to insert content from someotherdocument.xml. It appears that the XSLT function document() does this. Is this the best

Querying A Repository of XML Files...Or, How To Do Portal Objects

2004-04-22 Thread David Swearingen
(Sorry for the length of this post, but I think it highlights some classic issues that others may encounter so I thought it was worth being specific.) I'm building a web application -- not unlike a "portal" -- that contains mostly text content in files, and part of it requires me to solve a

Re: Newbie: Searching with html form parameters

2004-04-20 Thread David Swearingen
Nina: I didn't see a reply to your post. I'm relatively new to Cocoon but can relate to your question and was considering this tonight. Yes, if you're new to this environment it's going to be intimidating to figure this out since yes, it's straightforward to do ith with a relational db and

Best Practices for Debugging XML?

2004-04-20 Thread David Swearingen
Newbie question: what's the best way to view raw xml when debugging pipelines for web development? I think my question comes down to these two points: 1) Should serializers be switched to type="xml" so that I can see raw xml results in a browser? 2) If so, or, in general, are there some good

RE: (Easy) Passing a Variable From Sitemap to StyleSheet?

2004-04-13 Thread David Swearingen
I posted earlier this week about needing to pass a variable from the sitemap to a stylesheet, and I understand how to do this, but I'm getting a weird error now. [NOT SURE HOW TO ESCAPE HTML FOR POSTS TO MAILING LIST.] I'm setting the variable in the sitemap as follows: map:match

RE: resolving param in template

2004-04-13 Thread David Swearingen
Yeah, it's weird: everyone keeps telling me that's the solution, but the error I get when trying that is this: java.io.FileNotFoundException: C:\jakarta-tomcat-4.1.30\webapps\cocoon\mount\my1\{$requestedfile} (The system cannot find the file specified) So, it's ignoring the $ sign. Could I have

Re: (Easy) Passing a Variable From Sitemap to StyleSheet?

2004-04-13 Thread David Swearingen
to contribute. David --- Jorg Heymans [EMAIL PROTECTED] wrote: in the sitemap you do map:transform blah... map:parameter name=myparam value={1}/ /map:transform then in your stylesheet do xsl:param name=myparam/ David Swearingen wrote: I thought this would be easy...I'm trying

(Easy) Passing a Variable From Sitemap to StyleSheet?

2004-04-11 Thread David Swearingen
I thought this would be easy...I'm trying to pass a variable defined in the Sitemap, and retrieve it in the Stylesheet. Specifically, I have {1} defined in the sitemap, which is the basename of a file, and I want to refer to this filename in a stylesheet that's called by a transformer. I'm then

RE: Best Way to Build a Traditional Website Structure Using Coc oon?

2004-04-11 Thread David Swearingen
-Original Message- From: David Swearingen [mailto:[EMAIL PROTECTED] Sent: Thursday, April 08, 2004 5:04 PM To: [EMAIL PROTECTED] Subject: Best Way to Build a Traditional Website Structure Using Cocoon? Newbie question: I am designing a dynamic website and have chosen Cocoon

RE: (Easy) Passing a Variable From Sitemap to StyleSheet? - One complication

2004-04-11 Thread David Swearingen
Indeed I can use the variable in the stylesheet as described below by Philip but I failed to anticipate that I have to use the variable INSIDE of another tag, that is, I have a variable foo that represents a filename and I have to use it as follows: [cinclude:include src=foo.xml] I'm assuming

Cocoon Fails to Run - XML Parser Fix Confusion

2004-04-07 Thread David Swearingen
I'm having what appears to be a very common problem getting Cocoon to work for the first time (error entails ...Xalan in incremental processing mode...). I was able once to solve this problem before on another box but I've misplaced the webpage that described the fix. I'm told this is a very