{"action":"opened","issue":{"url":"https://api.github.com/repos/datacleaner/DataCleaner/issues/1100","labels_url":"https://api.github.com/repos/datacleaner/DataCleaner/issues/1100/labels{/name}","comments_url":"https://api.github.com/repos/datacleaner/DataCleaner/issues/1100/comments","events_url":"https://api.github.com/repos/datacleaner/DataCleaner/issues/1100/events","html_url":"https://github.com/datacleaner/DataCleaner/issues/1100","id":128776885,"number":1100,"title":"Spark module: Fail fast (with good error message) when CSV resource is not found","user":{"login":"kaspersorensen","id":291450,"avatar_url":"https://avatars.githubusercontent.com/u/291450?v=3","gravatar_id":"","url":"https://api.github.com/users/kaspersorensen","html_url":"https://github.com/kaspersorensen","followers_url":"https://api.github.com/users/kaspersorensen/followers","following_url":"https://api.github.com/users/kaspersorensen/following{/other_user}","gists_url":"https://api.github.com/users/kaspersorensen/gists{/gist_id}","starred_url":"https://api.github.com/users/kaspersorensen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaspersorensen/subscriptions","organizations_url":"https://api.github.com/users/kaspersorensen/orgs","repos_url":"https://api.github.com/users/kaspersorensen/repos","events_url":"https://api.github.com/users/kaspersorensen/events{/privacy}","received_events_url":"https://api.github.com/users/kaspersorensen/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/datacleaner/DataCleaner/labels/Component:%20Engine","name":"Component: Engine","color":"d4c5f9"},{"url":"https://api.github.com/repos/datacleaner/DataCleaner/labels/Type:%20Enhancement","name":"Type: Enhancement","color":"006b75"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/datacleaner/DataCleaner/milestones/11","html_url":"https://github.com/datacleaner/DataCleaner/milestones/5.0","labels_url":"https://api.github.com/repos/datacleaner/DataCleaner/milestones/11/labels","id":1355006,"number":11,"title":"5.0","description":"","creator":{"login":"kaspersorensen","id":291450,"avatar_url":"https://avatars.githubusercontent.com/u/291450?v=3","gravatar_id":"","url":"https://api.github.com/users/kaspersorensen","html_url":"https://github.com/kaspersorensen","followers_url":"https://api.github.com/users/kaspersorensen/followers","following_url":"https://api.github.com/users/kaspersorensen/following{/other_user}","gists_url":"https://api.github.com/users/kaspersorensen/gists{/gist_id}","starred_url":"https://api.github.com/users/kaspersorensen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaspersorensen/subscriptions","organizations_url":"https://api.github.com/users/kaspersorensen/orgs","repos_url":"https://api.github.com/users/kaspersorensen/repos","events_url":"https://api.github.com/users/kaspersorensen/events{/privacy}","received_events_url":"https://api.github.com/users/kaspersorensen/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":3,"state":"open","created_at":"2015-10-14T09:49:07Z","updated_at":"2016-01-26T09:57:08Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2016-01-26T09:57:08Z","updated_at":"2016-01-26T09:57:08Z","closed_at":null,"body":"I was running some Spark tests and got this error message while the root cause was that the path specified in my ```<csv-datastore>``` was wrong.\r\n```\r\n16/01/26 01:52:16 ERROR JaxbJobReader: Column company_name not found in SourceColumnMapping[datastore=CsvDatastore[name=companies, filename=hdfs:///datacleaner/data/companies.csv, quoteChar='\"', separatorChar=';', encoding=UTF-8, headerLineNumber=1],map={address_city=null, address_country=null, address_line1=null, address_line2=null, address_postalcode=null, company_name=null, company_type=null, contact_name=null, email=null, phone_country=null, phone_fax=null, phone_primary=null}]\r\nException in thread \"main\" org.datacleaner.job.NoSuchColumnException: No such column: company_name\r\n```\r\nWe should do a check that the file exists, and if not throw an according exception early on - telling the user that the file does not exist."}}