Hi Joe, On Mon, Jun 13, 2016 at 1:57 PM, <[email protected]> wrote:
> From: Joseph Obernberger <[email protected]> > To: [email protected] > Cc: > Date: Mon, 13 Jun 2016 10:39:05 -0400 > Subject: Re: Webpage in HBase alternative name > I see that the gora-hbase-mapping.xml has the table name in it, and the > nutch-site/nutch-default xml files have storage.schema.webpage. I've tried > changing both, but nutch still uses 'webpage' as the table within HBase. > > In StorageUtils.java I see: > ---------------------------------------- > String schema; > if (WebPage.class.equals(persistentClass)) { > schema = conf.get("storage.schema.webpage", "webpage"); > conf.set("preferred.schema.name", schemaPrefix + "webpage"); > } else if (Host.class.equals(persistentClass)) { > schema = conf.get("storage.schema.host", "host"); > conf.set("preferred.schema.name", schemaPrefix + "host"); > } else { > throw new UnsupportedOperationException( > "Unable to create store for class " + persistentClass); > } > ---------------------------------------- > > Shouldn't this instead be > conf.set("preferred.schema.name", schemaPrefix+schema > ? Yes it should be. Are you working off of 2.X HEAD? If so are you able to submit a patch? If not can you please at least open a Jira ticket and reference this thread. Thank you very much. Lewis

