-
To unsubscribe, e-mail: user-unsubscr...@spark.apache.org
For additional commands, e-mail: user-h...@spark.apache.org
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:
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
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
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
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
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
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
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
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
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
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
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
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
(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
(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
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
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
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
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
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
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
-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
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
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
25 matches
Mail list logo