US and Worldwide: +1 (866) 660-7555
Results 1 to 7 of 7

Thread: Creating a CSV data source

  1. #1
    Join Date
    Jan 2009
    Posts
    27

    Default Creating a CSV data source

    Hi,

    I have installed Pentaho CE (4.1). This Pentaho is configured to use hibernate on MySQL. When I try create a data source CSV, then appear an error: Database type [null[not found!

    If I try create a data source CSV (same file CSV) on other Pentaho (same version), but using hibernate on HSQLDB, the data source is created.

    Can you help me, please?

    Thank you, Regards.

  2. #2
    Join Date
    Jan 2009
    Posts
    27

    Default

    Solved.

    The JNDI have to be called Hibernate

  3. #3
    Join Date
    May 2012
    Posts
    3

    Default

    Hello, running Pentaho CE version 4.5.0 stable.
    Trying to create a new data source from CSV from Data Source Wizard in the browser, large file (40Mb) with 450K rows.
    Getting an error "the compressed file uploaded contained more than one file. any compressed files must contain only one file". Tried with a small file - it worked.
    What could be the problem? I changed maximum size in pentaho.xml, changed request size in ngenix just in case.
    Checked the los in catalina.out, these lines seem to me referring to this problem:

    17:28:41,779 WARN [AxisService] Unable to generate EPR for the transport : http
    Warning: Running an XSLT 1.0 stylesheet with an XSLT 2.0 processor
    17:28:42,143 WARN [AxisService] Unable to generate EPR for the transport : http
    Warning: Running an XSLT 1.0 stylesheet with an XSLT 2.0 processor
    17:28:42,588 WARN [DefaultSchemaGenerator] We don't support method overloading. Ignoring [public java.lang.String serializeModels(org.pentaho.metadata.model.Domain,java.lang.String,boolean) throws java.lang.Exception]
    17:28:42,638 WARN [DefaultSchemaGenerator] We don't support method overloading. Ignoring [public java.lang.String serializeModels(org.pentaho.metadata.model.Domain,java.lang.String,boolean) throws java.lang.Exception]
    17:28:42,667 WARN [AxisService] Unable to generate EPR for the transport : http
    Warning: Running an XSLT 1.0 stylesheet with an XSLT 2.0 processor

    Can anyone help?

    Screen Shot 2012-05-22 at 16.54.02.jpg

  4. #4
    Join Date
    May 2012
    Posts
    3

    Default

    Really, noone experienced this?

  5. #5
    Join Date
    Mar 2008
    Posts
    81

    Default

    CSV's are staged to a particular database. By default it's Hibernate, but you can change that in pentaho-solutions/system/data-access/settings.xml

    <!-- settings for Agile Data Access -->
    <data-access-staging-jndi>Hibernate</data-access-staging-jndi>

  6. #6
    Join Date
    Mar 2008
    Posts
    81

    Default

    Quote Originally Posted by roostam View Post
    Really, noone experienced this?
    Those Axis errors aren't involved. We're not using Axis services for the data access wizard.

    I found the code showing this error and it does look a little fragile. It could be that your zip utility is adding a newline at the end. I guess I would try compressing the CSV with a different tool

    if( uploadedFile.indexOf("\n") != -1 ) {
    // uploadedFile is newline-separated list of file names
    // for now we only support a single file
    showErroDialog(messages.getString("fileImportDialog.COMPRESSED_TOO_MANY_FILES"));
    return;
    }

  7. #7
    Join Date
    May 2013
    Posts
    23

    Default

    Try using a different tool to compress

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •