Yuchen,

could you check your hadoop config, /apache/hadoop/etc/hadoop/hdfs-site.xml

like those properties, if folder is valid

<property>
        <name>dfs.namenode.name.dir</name>
        <value>file:///data/hadoop-data/nn</value>
    </property>
    <property>
        <name>dfs.datanode.data.dir</name>
        <value>file:///data/hadoop-data/dn</value>
    </property>
    <property>
        <name>dfs.namenode.checkpoint.dir</name>
        <value>file:///data/hadoop-data/snn</value>
    </property>

________________________________
From: Yuchen Zhang <[email protected]>
Sent: Friday, February 22, 2019 3:10 PM
To: [email protected]
Subject: can't load text-dir data source


Hi there,



I’m new to Apache Griffin and Hadoop system and trying to set up a Griffin test 
env.

For now, I’m trying to get accuracy measure for the Text data source on Hadoop, 
but get below error:

2019-02-19 09:21:06 WARN  DataSource:36 - load data source [src] fails

2019-02-19 09:21:06 WARN  DataSource:36 - load data source [tgt] fails



But the data source can be load by sparksession : 
spark.read.text(“hdfs:///griffin/src/src.txt”);



Could anyone help me to figure out if there’s any problems in my configuration?



Here’s my text resource file:

[cid:[email protected]]



Here’s the DQ config:

[cid:[email protected]]



Thanks.


Reply via email to