Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 31 results for
apache-spark
- Page 1
Can't compile Java code with Apache Spark
Programming
Software Development
8 Years Ago
by Mr.UNOwen
… some reason javac errors when I import any of the
Apache
-
Spark
classes. I've gone through a number of setup guides… is set. Anyone have a clue what I'm missing?
Spark
Shell works and I'm able to run example scripts…
Re: Can't compile Java code with Apache Spark
Programming
Software Development
8 Years Ago
by Mr.UNOwen
It's "package org.
apache
.
spark
.api.java does not exist" when I try to import JavaRDD.
Re: Can't compile Java code with Apache Spark
Programming
Software Development
8 Years Ago
by JamesCherrill
Yes, you can use -cp in the javac command instead of setting the classpath. So did you download
spark
? It's not part of the standard Java distribution. I've never used it, so I can't offer any more advice, but there must be some kind of user group or WIKI for it.
Re: Can't compile Java code with Apache Spark
Programming
Software Development
8 Years Ago
by Mr.UNOwen
It's been setup on an unix machine that I ssh to, I can start the
Spark
Shell and run some example scala code. The issue is I don't know if they did a crappy job setting it up or just a case of my user profile not having the class paths needed.
Re: Can't compile Java code with Apache Spark
Programming
Software Development
8 Years Ago
by JamesCherrill
Sounds like the jar is not in your classpath. You should have CLASSPATH environment variable, and one of the entries in it should be where the
apache
jar is stored. If not, either add the relevant dir to the classpath, or move the jar to somewhere that's already in the classpath
Re: Can't compile Java code with Apache Spark
Programming
Software Development
8 Years Ago
by JamesCherrill
It would be helpful to know exactly what the error message says.
Re: Can't compile Java code with Apache Spark
Programming
Software Development
8 Years Ago
by Mr.UNOwen
The issue here is I don't know where that jar is or what it would be named. By the way -cp <path of jar file> is how you'd manually do it right?
Re: Can't compile Java code with Apache Spark
Programming
Software Development
8 Years Ago
by Mr.UNOwen
Problem solved, didn't realize you couln't have a space between -cp and the path. In the end I just set the environment variable to it instead.
pyspark
Programming
Software Development
9 Years Ago
by chophouse
Does anyone on the forum have any experience with pyspark (Python API for
Apache
Spark
)
Big Green Linux
Hardware and Software
Linux and Unix
16 Years Ago
by newsguy
…/linux"]Big Green Linux[/URL] initiative in order to
spark
further interest in getting Linux firmly integrated into the enterprise…
PHP Session and MySQL Problem
Programming
Web Development
12 Years Ago
by TheHaxx0r1215
…ALGOL 68</option><option value=\"
apache
\">
Apache
configuration</option><option value=\"…gt;Smarty</option><option value=\"
spark
\">
SPARK
</option><option value=\"sql\&…gt;Smarty</option><option value=\"
spark
\">
SPARK
</option><option value=\"sql\&…
I need help!!
Programming
Web Development
15 Years Ago
by Tootlol
… newbie, and recently I have installed php,
apache
, and mysql on my computer. However, after …of oil '; if ( $sparkqty>0 ) echo $sparkqty.'
spark
plugs '; } $totalamount = 0.00; define('TIREPRICE', 100); …/>'; if ( $sparkqty>0 ) echo $sparkqty.'
spark
plugs<br />'; } $totalamount = 0.00; …
Re: I need help!!
Programming
Web Development
15 Years Ago
by Tootlol
… questions to varify: 1.) Are you sure
Apache
is running? (Check the Task Manager for
Apache
.exe) 2.) Are you testing the….[/QUOTE] Hi, as for my answers to your questions: 1.
Apache
is running, I have check taskmanager and servers in administrator…
Re: I need help!!
Programming
Web Development
15 Years Ago
by Tootlol
[QUOTE=kkeith29;669531]the server isn't reading the php code. did you set up
apache
to work with php. also, fyi the browser doesn't read php code, the server does.[/QUOTE] yes I did set it up with
apache
Re: I need help!!
Programming
Web Development
15 Years Ago
by buddylee17
… questions to varify: 1.) Are you sure
Apache
is running? (Check the Task Manager for
Apache
.exe) 2.) Are you testing the…
Re: I need help!!
Programming
Web Development
15 Years Ago
by Tootlol
…:\PROGRA~2\MICROS~2\VC98\MFC\LIB" Server API
Apache
2.0 Handler Virtual Directory Support enabled Configuration File (php…
Re: I need help!!
Programming
Web Development
15 Years Ago
by somedude3488
the server isn't reading the php code. did you set up
apache
to work with php. also, fyi the browser doesn't read php code, the server does.
Re: I need help!!
Programming
Web Development
15 Years Ago
by Tootlol
and these are the lines that I typed into the
APACHE
conf file LoadModule php5_module "c:/Program Files/PHP/php5apache2_2.dll" AddType application/x-httpd-php .php PHPIniDir "c:/Program Files/PHP"
Re: Can logic deal with this?
Community Center
Geeks' Lounge
17 Years Ago
by mattyd
… of a given, recreational drug; but try to convince the
Apache
shaman that his visionquests are hallucinations. Drugs (marijuana, LSD, mushrooms…;saviour". That is not only insulting but potentially the
spark
for a Holy War and wholly untrue in most cases…
Re: PHP Session and MySQL Problem
Programming
Web Development
12 Years Ago
by TheHaxx0r1215
Oh, don't mind paste.php, I didn't create that file yet, I am worried about the problem above, then i'll create that.
Re: PHP Session and MySQL Problem
Programming
Web Development
12 Years Ago
by TheHaxx0r1215
This problem is now fixed.
Re: PHP Session and MySQL Problem
Programming
Web Development
12 Years Ago
by kanchana Mala
What is parser error? i have a project.Parser error came at the end of the program? HOw to debug this error?
Re: I need help!!
Programming
Web Development
15 Years Ago
by Tootlol
any help would be appreciated!
Re: I need help!!
Programming
Web Development
15 Years Ago
by somedude3488
just checking: did you give the file a .php extension. a lot of people make that mistake. hopefully you are not one of them.
Re: I need help!!
Programming
Web Development
15 Years Ago
by Tootlol
[QUOTE=kkeith29;669538]just checking: did you give the file a .php extension. a lot of people make that mistake. hopefully you are not one of them.[/QUOTE] Thanks for the quick reply! Since I am new at this it is very possible that I will make common mistakes. I have given all files a .php extension, and infact the file I pulled out is …
Re: I need help!!
Programming
Web Development
15 Years Ago
by Tootlol
to me it seems that the server only interprets part of the code since not all of it was left out. for example if I type: <?php echo '<p>Order processed at '; echo date('H:i, jS F'); echo '</p>'; _______________________________ THis would be the result shown on the browser: echo '<p>Order processed at '; echo date('H:i, jS…
Re: I need help!!
Programming
Web Development
15 Years Ago
by buddylee17
Tootol. I tested your script with both php and html extensions. When given a php extension, the file works perfect. When given an html extension, the file looks identical to the screen shot you provided. Make sure that you have the file saved in htdocs and are previewing through localhost.
Re: I need help!!
Programming
Web Development
15 Years Ago
by Tootlol
[QUOTE=buddylee17;669547]Tootol. I tested your script with both php and html extensions. When given a php extension, the file works perfect. When given an html extension, the file looks identical to the screen shot you provided. Make sure that you have the file saved in htdocs and are previewing through localhost.[/QUOTE] Hi buddylee! I have …
Re: I need help!!
Programming
Web Development
15 Years Ago
by ryan_vietnow
put all your php files in the htdocs then try again.
Re: I need help!!
Programming
Web Development
15 Years Ago
by Tootlol
[QUOTE=ryan_vietnow;669565]put all your php files in the htdocs then try again.[/QUOTE] Thanks for the reply! I have done what you told me and it is working perfectly right now! Thank you for your help! You have made my day :)
1
2
Next
Search
Search
Forum Categories
Hardware/Software
Programming
Digital Media
Community Center
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Meet People
Forums
Top Members
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2024 DaniWeb® LLC