Giter VIP home page Giter VIP logo

Comments (8)

Alex-Lian avatar Alex-Lian commented on May 20, 2024 1

@MEILIDEKCL I think it is a bug in the ctest_const.py. For hdfs, we only need to inject value to hdfs-ctest.xml file. I need to double check with @marshtompsxd.

from openctest.

marshtompsxd avatar marshtompsxd commented on May 20, 2024 1

We found some test cases in HDFS does not load hdfs-xxx.xml so we injected to both to make sure the injection takes effect. In most cases, injecting to hdfs-ctest.xml should be enough for HDFS.

from openctest.

Alex-Lian avatar Alex-Lian commented on May 20, 2024

@MEILIDEKCL Thanks for the questions.

The potential solutions are:

  1. Please check whether the hadoop is in the ctest-injection branch
  2. The name of the file for injection for hdfs is hdfs-ctest.xml instead of core-ctest.xml.
  3. And you need to build the hdfs module so that the hdfs-ctest.xml in src will be copied to target.

from openctest.

MEILIDEKCL avatar MEILIDEKCL commented on May 20, 2024

@Alex-Lian Thanks for your response.

  1. I am surely in the ctest-injection branch
  2. Yes, hdfs project need hdfs-ctest.xml. But I find that in your source code(ctest_const.py), the INJECTION_PATH for HDFS needs two xml (core-ctest.xml and hdfs-ctest.xml)
  3. I followed the scripts add_project.sh ctest gived

from openctest.

MEILIDEKCL avatar MEILIDEKCL commented on May 20, 2024

@Alex-Lian Thanks for your help.

from openctest.

MEILIDEKCL avatar MEILIDEKCL commented on May 20, 2024

@marshtompsxd Yeah, Thank you. But is there any questions for buliding the project on HDFS? I mean why core-ctest.xml wasn't compiled into target/class directory? Thank you.

from openctest.

Alex-Lian avatar Alex-Lian commented on May 20, 2024

@MEILIDEKCL For Hcommon, the filename for injection is core-ctest.xml. While for HDFS, the filename is hdfs-ctest.xml.

And you can find the hdfs-ctest.xml file here. https://github.com/xlab-uiuc/hadoop/tree/ctest-injection/hadoop-hdfs-project/hadoop-hdfs/src/main/resources

from openctest.

MEILIDEKCL avatar MEILIDEKCL commented on May 20, 2024

Oh, yeah. Thank you.

from openctest.

Related Issues (2)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.