From 4cb7c1bdc6710a11c869f3d398ed39762644395c Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Tue, 30 Oct 2018 18:03:24 -0700 Subject: fix typos in DumpGrobidXmlJob --- scalding/src/main/scala/sandcrawler/DumpGrobidXmlJob.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scalding') diff --git a/scalding/src/main/scala/sandcrawler/DumpGrobidXmlJob.scala b/scalding/src/main/scala/sandcrawler/DumpGrobidXmlJob.scala index 1b178eb..953610d 100644 --- a/scalding/src/main/scala/sandcrawler/DumpGrobidXmlJob.scala +++ b/scalding/src/main/scala/sandcrawler/DumpGrobidXmlJob.scala @@ -30,8 +30,8 @@ class DumpGrobidXmlJob(args: Args) extends JobBase(args) with HBasePipeConversio JSONObject( Map( "pdf_hash" -> Bytes.toString(key.copyBytes()), - "cdx_metadata" -> Bytes.toString(key.copyBytes()), - "tei_xml" -> Bytes.toString(key.copyBytes()) + "cdx_metadata" -> Bytes.toString(cdx.copyBytes()), + "tei_xml" -> Bytes.toString(tei_xml.copyBytes()) )).toString ) }; -- cgit v1.2.3