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

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

2014-02-10 Thread David Swearingen
/assembly` should build it. Else you need 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 mailto:dswearin...@centrifugesystems.com>> wrote: I'm running 0.9.0 and attempting to try the example des

"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: ./bin/ru

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

2012-09-01 Thread David Swearingen
INT means in this case. This > tutorial was created very early on. Since then hive has added support > for timestamp type which has a clear meaning. > > On Sat, Sep 1, 2012 at 10:33 AM, David Swearingen > wrote: >> Thanks. Still not clear to me what a time field is as an INT: &

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

2012-09-01 Thread David Swearingen
t; 12 is a '\n' and 44 is a ','. Since the format is TEXTFILE integers > are serialized into strings. > > > > On Sat, Sep 1, 2012 at 7:52 AM, David Swearingen > wrote: >> I'm going through the tutorial at >> https://cwiki.apache.org/Hive/tuto

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

2012-09-01 Thread David Swearingen
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 at https://cwiki.apache.org/Hive/tutorial.html#Tutorial-LoadingData I can't find a link to download such a file a

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

2012-03-01 Thread David Swearingen
arklogic.com > > When replying, please edit your 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

[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 http://developer.marklogic.com/mailman/listi

[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 in

[MarkLogic Dev General] Does CPF support multiple Conditions?

2012-01-25 Thread David Swearingen
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. Tha

Can anyone verify a bug with 2.1.6 resource reader?

2005-08-09 Thread David Swearingen
Having a problem with serving out .pdf files to IE under 2.1.6 using map:read. Have researched this extensively with Google and am getting some indications that there was a bug in the resource reader that was actually not in an earlier reader, at least one person said they rolled back to the 2.0.4

Fresh Cocoon install won't start on OS X: Scheduler with name 'Cocoon' already exists.

2005-05-29 Thread David Swearingen
Just created a fresh cocoon.war from 2.1.7 on Mac OS X under Java 1.4.2, dropped it into webapps and hit localhost:8080/cocoon... Have done this a bunch of times on Unix with no trouble but now am getting an error, below. Have done a lot of searching on this problem but am not finding any good lead

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

2005-01-28 Thread David Swearingen
ully 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. So >there are now say 20 different map:matches for these pages. I don't >want to in

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

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 sever

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 (in a 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 sub

Is running Cocoon on Tomcat 5 advisable?

2004-07-21 Thread David Swearingen
I'm running Cocoon at my hosting provider who has Tomcat 5 already installed.  So for that reason, and to take advantage of any new Tomcat 5 features, I'd like to run Cocoon on 5.  I just need to know if this is recommended -- are there any problems doing this?  I couldn't find any literature addre

Install Question

2004-07-01 Thread David Swearingen
I've installed Cocoon successfully before on Windows but it's been a while, and now I'm doing it again, 2.1.5, and for some reason running build.bat is 'successful' but I cannot find the cocoon.war file.  I am looking in build/cocoon directory, and I see a .jar file, but not a .war file.  I've also

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 bes

Xindice

2004-04-23 Thread David Swearingen
Thanks, Joerg.  So I read up on Xindice last night.  Are people using Xindice for production sites yet, or is it still in alpha?   David     Joerg Heinicke <[EMAIL PROTECTED]> wrote: On 23.04.2004 02:18, David Swearingen wrote:> I picked Cocoon as my platform in part because of the ele

"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 probl

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 t

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 servl

Aggregating Content From Multiple Sources

2004-04-18 Thread David Swearingen
I'm looking into a way to generate content from multiple generators at once after a user request (web) and then merge them together into one output serializer. I looked into map:aggregate but the documentation seems limited and I couldn't find any examples of doing this. So, specifically, user re

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

2004-04-13 Thread David Swearingen
enough to contribute. David --- Jorg Heymans <[EMAIL PROTECTED]> wrote: > in the sitemap you do > > > > > then in your stylesheet do > > > David Swearingen wrote: > > I thought this would be easy...I'm trying to pass a variable > defi

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 hav

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:

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 assumin

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

2004-04-11 Thread David Swearingen
Thanks very much, Philip. That works. David --- Philipp Burkert <[EMAIL PROTECTED]> wrote: > Hi, > > > I thought this would be easy...I'm trying to pass a variable > > defined in the Sitemap, and retrieve it in the Stylesheet. > > first you have to handle the parameter to the transformer w

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

2004-04-11 Thread David Swearingen
dinator > Wisconsin Department of Commerce > 6th Floor > P.O. Box 7970 > Madison, WI > 1-608-266-1283 > > > -Original Message- > From: David Swearingen [mailto:[EMAIL PROTECTED] > Sent: Thursday, April 08, 2004 5:04 PM > To: [EMAIL PROTECTED] > Subject

(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 g

Best Way to Build a "Traditional" Website Structure Using Cocoon?

2004-04-08 Thread David Swearingen
Newbie question: I am designing a dynamic website and have chosen Cocoon as the architecture. The website will contain a 'classic' structure, with left navigation, masthead, footer, and a body section containing content. The various elements, like the navigation, surrounding the content will rar

Re: Cocoon Fails to Run - XML Parser Fix Confusion

2004-04-08 Thread David Swearingen
Thanks very much Antonio; the link to the wiki install page was especially helpful. David --- Antonio Gallardo <[EMAIL PROTECTED]> wrote: > Hi David: > > 1- Try to download better Cocoon 2.1.4 it is far better than 2.0.4 > 2-The link page requested is: > http://wiki.cocoondev.org/Wiki.jsp?page=C

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 he

New to Cocoon - best practice for setting up sandbox?

2004-03-17 Thread David Swearingen
I'm new to Cocoon. I'm trying to understand how to set up an area on my server where I can 1) start doing some testing and 2) eventually deploy production code. I've scoured the docs and several websites but have had no luck in finding an answer to my question, below. I've dropped the cocoon.war