falcon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Janarthanan (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FALCON-1299) Falcon start - throws java.io file not found exception
Date Sun, 28 Jun 2015 13:17:04 GMT

    [ https://issues.apache.org/jira/browse/FALCON-1299?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14604675#comment-14604675

Janarthanan commented on FALCON-1299:

Thanks for the welcome. Yes I could pitch in. Before that I don't have much info on how this
group works. If some one could guide with initial steps. Below are few suggestions to be included
in installation steps:

1. Tree structure for embedded and distributed mode separately. 
2. Difference between embedded and distributed, though we can make it from the names. But
at first sight, I was not able to make any thing out of it. 
3. How to build the falcon ? First I see a command "mvn clean install" 
Again there is one more command with "mvn assembly...." . What's the need for both, I am not
able to make it, since i don't have much background on maven. I just followed the instructions
given there. 

4. While opening the GUI, it prompts for user name, can there be a text to either leave it
as blank or default user name being displayed in the text box ? Because it accepts any random
text as user name. Now I am not able to give the user name, even after stopping falcon and
starting again, still it uses the same user name. Not sure how it impacts the issue i posted.

5. When I built using the maven commands, I see two folders created inside the /target folder
as below, is there any difference or what's the purpose of both the folders. 
 - falcon-sources-0.6.1
 - falcon-0.6.1 

6. Instruction to be given to add falcon directory to the PATH variable. Which should be the
working directory to run the falcon cli commands ? quite few times, I got 'could not load
main class' error. After couple of trails from various folders, I got it right. 

7. Details about the three tabs in GUI. But nothing to display in all the three tabs at the
first hit. 

8. Should the endpoint for execution have https or http ?
What does rm stands for ? is it resource manager url ? What's the exact value to be provided
for execution endpoint. For the above issues i have posted on time out, I can see that the
error is because of not able to connect to below url.

Error log:
2015-06-28 13:57:15,913 INFO  - [9730122@qtp-1771797373-8 - f6ba54d4-cea9-4ae8-a078-35fc55b92883:administrator:POST//entities/submit/cluster]
~ Validating execute interface: http://localhost:8088 (ClusterEntityParser:134)
2015-06-28 13:57:15,981 INFO  - [9730122@qtp-1771797373-8 - f6ba54d4-cea9-4ae8-a078-35fc55b92883:administrator:POST//entities/submit/cluster]
~ Connecting to ResourceManager at localhost/ (RMProxy:98)
2015-06-28 13:57:15,992 ERROR - [9730122@qtp-1771797373-8 - f6ba54d4-cea9-4ae8-a078-35fc55b92883:administrator:POST//entities/submit/cluster]
~ Unable to persist entity object (AbstractEntityManager:198)
org.apache.falcon.entity.parser.ValidationException: Invalid Execute server or port: http://localhost:8088
	at org.apache.falcon.entity.parser.ClusterEntityParser.validateExecuteInterface(ClusterEntityParser.java:139)

> Falcon start - throws java.io file not found exception
> ------------------------------------------------------
>                 Key: FALCON-1299
>                 URL: https://issues.apache.org/jira/browse/FALCON-1299
>             Project: Falcon
>          Issue Type: Bug
>            Reporter: Janarthanan
> I tried starting the falcon in embedded mode and getting the below error. 
> Error details as below:
> administrators-MacBook-Pro-2:bin administrator$ ./falcon-start
> Hadoop is installed, adding hadoop classpath to falcon classpath
> java.io.FileNotFoundException: /Users/administrator/Downloads/falcon-sources-0.6.1/src/server/webapp/falcon.war
(No such file or directory)
> 	at java.io.FileInputStream.open(Native Method)
> 	at java.io.FileInputStream.<init>(FileInputStream.java:146)
> 	at java.io.FileInputStream.<init>(FileInputStream.java:101)
> 	at sun.tools.jar.Main.run(Main.java:260)
> 	at sun.tools.jar.Main.main(Main.java:1231)

This message was sent by Atlassian JIRA

View raw message